Environment.MakeFace (Plane, IList<IList<Int32>>, IList<Point3D>, Boolean) Method

NOTE: This member is now obsolete. Use Mesh.CreatePlanar() method instead.

Triangulates the specific region.
Public Shared Function MakeFace( _ 
ByVal pln As Plane, _ 
ByVal loops As IList(Of IList(Of Integer)), _ 
ByVal vertexList As IList(Of Point3D), _ 
ByVal checkForOuter As Boolean
) As IndexTriangle()
This language is not supported or no code example is available.
public static IndexTriangle[] MakeFace( 
Plane pln
IList<IList<int>> loops
IList<Point3D> vertexList
bool checkForOuter 
)
This language is not supported or no code example is available.

Parameters

pln
Plane

The projection plane

loops
IList<IList<int>>

The loop list, the outer one is the first (needs to be oriented counterclockwise), the inners are the others (need to be oriented clockwise).

vertexList
IList<Point3D>

The vertex list

checkForOuter
bool

Check if the outer contour is the first in the list and if not reorders the loop list

Return Value

IndexTriangle[]

The list of triangles needed to cover the region.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition