PropertyLine.IsValidBoundary
Description:
Identifies whether the given curve loops compose a valid boundary to create PropertyLine element.
Identifies whether the given curve loops compose a valid boundary to create PropertyLine element.
Remarks:
The curve loops is not necessary to close, it could be open, but should not intersect with each other; and each loop is planar and lies on a plane parallel to the horizontal(XY) plane. Also, the curves should not contain any unbounded circle/ellipse.
The curve loops is not necessary to close, it could be open, but should not intersect with each other; and each loop is planar and lies on a plane parallel to the horizontal(XY) plane. Also, the curves should not contain any unbounded circle/ellipse.
public static bool IsValidBoundary(
IList<CurveLoop> curveLoops
)
-
IList<CurveLoop>curveLoopsThe curve loops to be checked.
Return Value
Boolean
True if the given curve loops don't intersect with each other;
and each loop is planar and lies on a plane parallel to the horizontal(XY) plane.
Any requirement above is not satisfied or no curve loops contained, returns false.
-
A non-optional argument was null