ClosedArea2D
Canonical path: NemAll_Python_Geometry.ClosedArea2D
2D closed area Representation class for 2D geometry closed (path bounded) area
AddInnerCurve
AddInnerCurve(innerpath: Path2D) -> bool
Add new inner curve
Parameters:
-
innerpath
(Path2D
) –New inner curve ( Path2D )
Returns:
-
bool
–true if the operation was successful
GetInnerCurve
GetInnerCurve(index: int) -> Path2D
Get the curve of given index
Parameters:
-
index
(int
) –Index of the inner curve
Returns:
-
Path2D
–const reference to the curve ( Path2D )
GetInnerList
GetInnerList() -> Path2DList
Get the list of the inner curves
Returns:
-
Path2DList
–reference to a vector that contains the inner curves ( Path2D )
GetOuterCurve
GetOuterCurve() -> Path2D
SetOuterCurve
SetOuterCurve(outerpath: Path2D)
__eq__
__eq__(closedArea: ClosedArea2D) -> object
Comparison of closedAreas without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
closedArea
(ClosedArea2D
) –Compared closedArea.
Returns:
-
object
–True when closedAreas are equal, otherwise false.
Placeholder