Nodes
closestPointOnSurface
Go to: Related nodes. Attributes.
This node returns the closest point of an (x,y,z) point (attribute
"inPosition") to a surface (given by the attribute "inputSurface").
You can query the closest (x,y,z) point (attribute "position") or
you can query the closest surface (u,v) point (given by attributes
"parameterU" and "parameterV").
Node name |
Parents |
MFn type |
Compatible function sets |
closestPointOnSurface |
abstractBaseCreate |
kClosestPointOnSurface |
kBase
kNamedObject
kDependencyNode
kClosestPointOnSurface |
Related nodes
pointOnSurfaceInfo,
pointOnCurveInfo
Attributes (12)
inPosition, inPositionX, inPositionY, inPositionZ, inputSurface, parameterU, parameterV, position, positionX, positionY, positionZ, result
Long name (short name) |
Type |
Default |
Flags |
|
inputSurface
(is ) |
nurbsSurface |
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 |
|
|
|
|
parameterU
(u ) |
double |
0.0 |
|
|
|
parameterV
(v ) |
double |
0.0 |
|
|