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 returned is unitless.
| Node name | Parents | Classification | MFn type | Compatible function sets |
|---|
| distanceBetween | node | math/transformation:drawdb/shader/operation/distanceBetween | kDistanceBetween | kBase kNamedObject kDependencyNode kDistanceBetween |
Related nodes
sum, multMatrix, multiply, multiplyPointByMatrix, angleBetween, distanceBetweenDL
Attributes (11)
distance, inMatrix1, inMatrix2, point1, point1X, point1Y, point1Z, point2, point2X, point2Y, point2Z
| Long name (short name) | Type | Default | Flags |
|---|
|
distance
(d)
| double | 0.0 |   |
|
|
inMatrix1
(im1)
| matrix | identity |    |
|
|
inMatrix2
(im2)
| matrix | identity |    |
|
|
point1
(p1)
| double3 | |    |
|
|
|
|
|
point2
(p2)
| double3 | |    |
|
|
|
|