ConstructPointLocators (NurbsSurfaceMesh) *

Introduced

5.0

Description

Builds a PointLocatorData from NurbsSurfaceMesh-specific topological information. Subsurface indices and normalized UV surface parameters are required in order to define each point locator. The UV array should contain two values for each specified subsurface index.

Notice that the returned point locators can be evaluated on any NurbsSurfaceMesh instance having the same topology.

Scripting Syntax

NurbsSurfaceMesh.ConstructPointLocators( SubSurfaceIndices, NormalizedUVs )

C# Syntax

PointLocatorData NurbsSurfaceMesh.ConstructPointLocators( Object in_pSubSurfaceIndices, Object in_pNormalizedUVs );

Parameters

Parameter

Type

Description

SubSurfaceIndices

1-dimensional Array

An array of subsurface indices on which the point locators are created.

NormalizedUVs

Array

An array of Double, either formatted as a 1D array of packed UV pairs, or as a 2D array of UV pairs. The UVs are normalized (0..1) parametric values defining the position the corresponding subsurface.

Return Value

PointLocatorData

See Also

PointLocatorData

Geometry

Geometry.GetClosestLocations

Geometry.GetClosestLocationsWithinRadius

Geometry.GetRaycastIntersections

Geometry.SetupPointLocatorQueries

Geometry.GetSurfacePointLocatorsFromPoints

Geometry.EvaluatePositions

Geometry.EvaluateNormals

Geometry.EvaluateClusterProperty

PolygonMesh.GetPolygonIndexArray

PolygonMesh.GetTriangleVertexIndexArray

PolygonMesh.GetTriangleNodeIndexArray

PolygonMesh.GetTriangleWeightArray

PolygonMesh.ConstructPointLocators

NurbsSurfaceMesh.GetSubSurfaceIndexArray

NurbsSurfaceMesh.GetNormalizedUVArray

 

 

 

Examples

• See NurbsSurfaceMesh.ConstructPointLocators.1.js



Autodesk Softimage 2011