Polygon2DUtil
Canonical path: NemAll_Python_Geometry.Polygon2DUtil
CalculateInscribedCircumscribedArc
staticmethod
CalculateInscribedCircumscribedArc(
outline: Polygon2D, centerPoint: Point2D, isCircumscribed: bool
) -> tuple[Arc2D, Arc2D]
CreateRegularPolygonFromArc
staticmethod
CreateRegularPolygonFromArc(
arc: Arc2D, placement: AxisPlacement2D, segmentation: int, bInscribed: bool
) -> tuple[bool, Polygon2D]
Create a regular polygon for an arc
Parameters:
-
arc
(Arc2D
) –Base arc
-
placement
(AxisPlacement2D
) –Placement for the poylgon
-
segmentation
(int
) –Number of corner points
-
bInscribed
(bool
) –True, if if the arc is inscribed to the polygon
Returns:
FindPointOnPolygonWithDistance
staticmethod
GetPolygon2DSegment
staticmethod
Get the closest segment for the given click point
Parameters:
Returns:
Placeholder