ExporterIFCUtilsSortFaceEdges Method

Sorts the edges of a face such that the outer edge loops and their corresponding inner edge loops are separated.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static IList<IList<int>> SortFaceEdges(
	Face face
)

Parameters

face  Face
The face.

Return Value

IListIListInt32
The list of outer edge loops and their corresponding inner edge loops, by their index.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
Remarks
Each entry of the array represents an array of indices, where the first index corresponds to an outer edge loop and the rest of the indices correspond to 0 or more inner edge loops contained inside the outer edge loop. Loops are assumed to be non-intersecting, and there will be no nesting of inner loops (that is, an inner loop of an inner loop is another outer loop). The indices correspond to entries in the collection of edge loops returned by Face.EdgeLoops.
See Also