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 | Classification | MFn type | Compatible function sets |
---|
closestPointOnSurface | abstractBaseCreate | geometry | 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 |
---|
|
inPosition
(ip )
| double3 | 0.0, 0.0, 0.0 | |
|
| inPositionX
(ipx )
| distance (double) | double0.0cm | | |
|
| inPositionY
(ipy )
| distance (double) | double0.0cm | | |
|
| inPositionZ
(ipz )
| distance (double) | double0.0cm | | |
|
|
inputSurface
(is )
| nurbsSurface | nullptr | |
|
|
result
(r )
| compound | n/a | |
|
| position
(p )
| double3 | 0.0, 0.0, 0.0 | | |
| positionX
(px )
| distance (double) | double0.0cm | | |
| | positionY
(py )
| distance (double) | double0.0cm | | |
| | positionZ
(pz )
| distance (double) | double0.0cm | | |
|
|
| parameterU
(u )
| double | double0.0 | | |
|
| parameterV
(v )
| double | double0.0 | | |
|