Skip to content

RectangleUtil

implementation of the rectangle utility functions

RectangleUtil

Canonical path: Utils.Geometry.RectangleUtil.RectangleUtil

implementation of the rectangle utility functions

polygon staticmethod

polygon(
    center_point: Point2D, rotation_angle: Angle, width: float, thickness: float
) -> Polygon2D

create rectangle handles

Parameters:

  • center_point (Point2D) –

    center point

  • rotation_angle (Angle) –

    rotation angle

  • width (float) –

    width

  • thickness (float) –

    thickness

Returns:

Placeholder