Handbook
Glossary
project-pt-plane ( line-p0 line-vt plane-n plane-d -- q )
Vocabulary
euler
.
modeling
Inputs
line-p0
an
object
line-vt
an
object
plane-n
an
object
plane-d
an
object
Outputs
q
an
object
Definition
USING:
math
math.vectors
;
IN:
euler.modeling
::
project-pt-plane
( line-p0 line-vt plane-n plane-d -- q )
plane-d
neg
plane-n line-p0
vdot
-
line-vt plane-n
vdot
/
line-vt
n*v
line-p0
v+
;
inline