Go to: Related nodes. Attributes.
This node computes the distance between two points: point1 and
point2. If inMatrix1 and inMatrix2 are provided, they are used to
multiply the points before the computation.
The distance result is returned in world units.
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
distanceBetween |
dependNode |
utility/general |
kDistanceBetween |
kBase
kNamedObject
kDependencyNode
kDistanceBetween |
Related nodes
holdMatrix, passMatrix, unitConversion, timeToUnitConversion, unitToTimeConversion
Attributes (11)
distance, inMatrix1, inMatrix2, point1,
point1X, point1Y, point1Z,
point2, point2X, point2Y,
point2Z
Long name (short name) |
Type |
Default |
Flags |
|
point1
(p1 ) |
double3 |
|
|
|
point1X
(p1x ) |
distance
(double) |
0.0cm |
|
|
|
point1Y
(p1y ) |
distance
(double) |
0.0cm |
|
|
|
point1Z
(p1z ) |
distance
(double) |
0.0cm |
|
|
|
inMatrix1
(im1 ) |
matrix |
identity |
|
|
point2
(p2 ) |
double3 |
|
|
|
point2X
(p2x ) |
distance
(double) |
0.0cm |
|
|
|
point2Y
(p2y ) |
distance
(double) |
0.0cm |
|
|
|
point2Z
(p2z ) |
distance
(double) |
0.0cm |
|
|
|
inMatrix2
(im2 ) |
matrix |
identity |
|
|
distance
(d ) |
distance
(double) |
0.0cm |
|