TriangulatePolygon..::..Run Method (IEnumerable<(Of <(<'IEnumerable<(Of <(<'Vertex>)>)>>)>)>, array<Double>[]()[][], Boolean)

Triangulates a list of loops into faces in O(n*log(n)) time.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static List<List<Vertex[]>> Run(
	IEnumerable<IEnumerable<Vertex>> loops,
	double[] normal,
	bool ignoreNegativeSpace
)
Public Shared Function Run ( _
	loops As IEnumerable(Of IEnumerable(Of Vertex)), _
	normal As Double(), _
	ignoreNegativeSpace As Boolean _
) As List(Of List(Of Vertex()))
public:
static List<List<array<Vertex^>^>^>^ Run(
	IEnumerable<IEnumerable<Vertex^>^>^ loops, 
	array<double^>^ normal, 
	bool^ ignoreNegativeSpace
)

Parameters

loops
Type: IEnumerable<(Of <(<'IEnumerable<(Of <(<'Vertex>)>)>>)>)>
The loops.
normal
Type: array<Double>[]()[][]
The normal.
ignoreNegativeSpace
Type: Boolean
if set to true [ignore negative space].

Return Value

List<List<Vertex[]>>.