BaseMesh.ConvertPointRepsToAdjacency Method

Language:

Converts point representative data to mesh adjacency information.

Definition

Visual Basic Public Function ConvertPointRepsToAdjacency( _
    ByVal pointReps() As Integer _
) As Integer()
C# public int[] ConvertPointRepsToAdjacency(
    int[] pointReps
);
C++ public:
array<int>^ ConvertPointRepsToAdjacency(
    array<int>^ pointReps
);
JScript public function ConvertPointRepsToAdjacency(
    pointReps : int[]
) : int[];

Parameters

pointReps System.Int32[]
Array that contains one Int32 Leave Site per vertex of the mesh that contains point representative data. This parameter is optional; supplying a value of 0 causes it to be interpreted as an "identity" array.

Return Value

System.Int32[]
Array of three Int32 Leave Site values per face, which specify the three neighbors for each face in the mesh.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.

Applies To

Mesh, ProgressiveMesh

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center