GetClosestLocationNode

Associated Parameters: GetClosestLocationNode

Introduced

7.0

UI Location

• Geometry Queries

Description

Outputs the closest location on a surface, polygon mesh, curve, point cloud or other geometry based from the input position. We strongly suggest, when possible, to use the cutoff distance option for performance reason. The smaller the cutoff distance, the faster the execution of this node.

Parameters

Parameter Name

Scripting Name

Type

Description

Proximity Method

proximitymethod

Integer

Method used to compute the proximity

Possible Values:

0: Closest Surface

1: Closest Vertex or Knot

2: Closest Smoothed Surface

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

geometry

Type: siICENodeDataGeometry

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The geometry on which we want the closest location.

position

Type: siICENodeDataVector3

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The position from which we want the closest location.

enablecutoffdistance

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Allows to search only within given distance.

cutoffdistance

Type: siICENodeDataFloat

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The distance within which to search when the Enable Cutoff Distance option is turned on.

Outputs

Port Name

Connection Info

Description

location

Type: siICENodeDataLocation

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The closest location on the geometry from the input position.

found

Type: siICENodeDataBool

Structure: siICENodeStructureAny

Context: siICENodeContextAny

Returns true if a location was found on the geometry within the cutoff distance (when the option is on).

Restrictions

• These structures must match: position, cutoffdistance, location, found

• These contexts must match: position, cutoffdistance, location, found

See Also

BasicCollideNode

GenerateSampleSetNode

GetClosestPointsNode

GetGeometrySampleNode

GroupGeometryNode

IsOnGeometryNode

PointInVolumeNode

RaycastNode

UndefinedLocationNode

UVToLocationNode

 

 



Autodesk Softimage v7.5