Vytvoří novou instanci třídy XSpaceUtility..::.XVertexArrayAdapter2I z kolekce vektorů IXVertexArray s možností filtrovat vektory nefigurující v kolekci stěn.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
public XVertexArrayAdapter2I( IXVertexArray vertices, int[] faces ) |
Parametry
- vertices
- Typ: SGP.XSpace..::.IXVertexArray
Pole vektorů IXVertexArray, ze kterých bude instance nové kolekce sestavena.
- faces
- Typ: array<
System..::.Int32
>[]()[]
Pole čísel odkazující do pole vertices, které vektory budou použity. Ostatní vektory budou odstraněny.
Výjimky
Výjimka | Podmínka |
---|---|
System..::.ArgumentNullException | vertices je nullNothingnullptrnulová reference (Nothing v Visual Basic). |
System..::.ArgumentNullException | faces je nullNothingnullptrnulová reference (Nothing v Visual Basic). |