Regular Polygon#

class gbox.RegularPolygon(num_sides: int = 3, corner_radius: float = 0.15, side_len: float = 1.0, centre: tuple[float, float] = (0.0, 0.0), pivot_angle: float = 0.0)#

Regular Polygon with n-sides

property perimeter#
Return type:

float

property area#
Return type:

float

property locus#

The locus of 2D shapes

Return type:

Points