Creates new XSpaceUtility..::.XVertexArrayAdapter2I class instance from the IXVertexArray vector collection with the possibility of filtering the vectors not contained in the faces collection.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XVertexArrayAdapter2I(
	IXVertexArray vertices,
	int[] faces
)

Parameters

vertices
Type: SGP.XSpace..::.IXVertexArray
The IXVertexArray vector array that the new collection instance will be made up from.
faces
Type: array< System..::.Int32 >[]()[]
The array of numbers referencing to the vertices, specifying vectors that will be used. All other vectors will be removed.

Exceptions

ExceptionCondition
System..::.ArgumentNullException vertices is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::.ArgumentNullException faces is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also