Sorts the triangles in a list by their coordinates.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public static void Sort(
	List<Triangle> triangles,
	Triangle..::.SortOrder sortOrder
)
Visual Basic (Declaration)
Public Shared Sub Sort ( _
	triangles As List(Of Triangle), _
	sortOrder As Triangle..::.SortOrder _
)
Visual C++
public:
static void Sort(
	List<Triangle^>^ triangles, 
	Triangle..::.SortOrder sortOrder
)

Parameters

triangles
Type: System.Collections.Generic..::.List<(Of <(Triangle>)>)
A list of triangles.
sortOrder
Type: ceometric.VectorGeometry..::.Triangle..::.SortOrder
A sort order for the coordinates X, Y and Z.

See Also