Handbook
Glossary
perpendicular-distance ( oint oint -- distance )
Vocabulary
jamshred
.
oint
Inputs
oint
an
object
oint
an
object
Outputs
distance
an
object
Definition
USING:
accessors
kernel
math
;
IN:
jamshred.oint
:
perpendicular-distance
( oint oint -- distance )
[
distance-vector
]
keep
2dup
left>>
scalar-projection
abs
-rot
up>>
scalar-projection
abs
+
;