ExporterIFCUtils.GetRoomBoundaryAsCurveLoopArray
Description:
Obtains the spatial element boundary curves as an array of CurveLoops, needed for processing into IFC-specific elements later.
Obtains the spatial element boundary curves as an array of CurveLoops, needed for processing into IFC-specific elements later.
public static IList<CurveLoop> GetRoomBoundaryAsCurveLoopArray(
SpatialElement spatialElement,
SpatialElementBoundaryOptions options,
bool cleanCurves
)
-
spatialElementThe spatial element.
-
optionsThe options for extraction of the boundaries.
-
BooleancleanCurvesIf true, curves will be trimmed to meet their neighbors. If false, no trimming will take place.
Return Value
IList<CurveLoop>
The list of CurveLoops, which could be empty if the routine is unable to get the boundary curve loops.
-
A non-optional argument was null
-
Throws an exception if any of the boundary loops are invalid or degenerate.