Nodes
nearestPointOnCurve
Go to: Related nodes. Attributes.
This node returns the closest point of an (x,y,z) point (attribute
"inPosition") to a curve (given by the attribute "inputCurve"). You
can query the closest (x,y,z) point (attribute "position") or you
can query the closest curvep parameter (attribute "parameter").
| Node name |
Parents |
MFn type |
Compatible function sets |
| nearestPointOnCurve |
abstractBaseCreate |
kNearestPointOnCurve |
kBase
kNamedObject
kDependencyNode
kNearestPointOnCurve |
Related nodes
closestPointOnSurface,
closestPointOnMesh
Attributes (11)
inPosition, inPositionX, inPositionY, inPositionZ, inputCurve, parameter, position, positionX, positionY, positionZ, result
| Long name (short name) |
Type |
Default |
Flags |
|
inputCurve
(ic) |
nurbsCurve |
NULL |
   |
|
inPosition
(ip) |
double3 |
0.0, 0.0, 0.0 |
    |
|
inPositionX
(ipx) |
distance
(double) |
0.0cm |
    |
|
|
inPositionY
(ipy) |
distance
(double) |
0.0cm |
    |
|
|
inPositionZ
(ipz) |
distance
(double) |
0.0cm |
    |
|
|
result
(r) |
compound |
n/a |
  |
|
position
(p) |
double3 |
0.0, 0.0, 0.0 |
  |
|
positionX
(px) |
distance
(double) |
0.0cm |
  |
|
|
positionY
(py) |
distance
(double) |
0.0cm |
  |
|
|
positionZ
(pz) |
distance
(double) |
0.0cm |
  |
|
|
|
parameter
(pr) |
double |
0.0 |
  |
|