'Declaration Public Overloads 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()
public static IndexTriangle[] MakeFace( Plane pln, IList<IList<int>> loops, IList<Point3D> vertexList, bool checkForOuter )
Parameters
- pln
- The projection plane
- loops
- 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
- The vertex list
- checkForOuter
- Check if the outer contour is the first in the list and if not reorders the loop list
Return Value
The list of triangles needed to cover the region.