GetClosestPointsNode

 

Introduced

7.0

UI Location

• Geometry Queries

Description

Outputs the points in the proximity of the input position. There are two ways to search, and both can be used at the same time:

- When the Enable Cutoff Distance option is enabled, the node returns the locations of all the points that are within the specified distance of the input position.

- When the Enable Max Number of Points option is enabled, the node returns the location of the N closest points from the input position (where N is specified by the Max Number of Points port).

With both options, the N closest points that are within the input distance are returned. Accessing Data from Array Nodes

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

geometry

Type: siICENodeDataGeometry

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The geometry on which to search for the points.

position

Type: siICENodeDataVector3

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

The position from which we want to search for the points based on distance and/or order of proximity.

enablecutoffdistance

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Specifies that we want the points within a certain distance of the input position.

cutoffdistance

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

The distance within which to retrieve the points.

enablemaxnumberpoints

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Specifies that we want the N closest points from the input position.

maxnumberpoints

Type: siICENodeDataLong

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

The maximum number of points requested when the Enable Max Number Points option is turned on.

Outputs

Port Name

Connection Info

Description

points

Type: siICENodeDataLocation

Structure: siICENodeStructureArray

Context: siICENodeContextAny

The locations of the points in proximity. These are packaged in an array structure (see ).

See Also

BasicCollideNode

GenerateSampleSetNode

GetClosestLocationNode

GetGeometrySampleNode

GroupGeometryNode

IsOnGeometryNode

PointInVolumeNode

RaycastNode

UndefinedLocationNode

UVToLocationNode

 

 



Autodesk Softimage v7.5