2024 Method
Changes 0
M

SiteSubRegion.IsValidBoundary

Description:
Identifies whether the given curve loops compose a valid boundary.
Remarks:
The curve loops are valid if they don't intersect with each other; each curve loop is closed; and each loop is planar and lies on a plane parallel to the horizontal(XY) plane.
public static bool IsValidBoundary(
	IList<CurveLoop> curveLoops
)
  • IList<CurveLoop>
    curveLoops
    The curve loops to be checked.
Return Value bool True if the given curve loops don't intersect with each other; each curve loop is closed; 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.