Expand description
Set of function to modify geometric shapes
Structs§
Enums§
- Shape
Modify Mode - Whether to strictly inflate or deflate when making any modifications to shape.
Depends on the
positionof theHazardEntitythat the shape represents.
Functions§
- close_
narrow_ concavities - Closes narrow concavities in a
SPolygonby replacing them with a straight edge, eliminating the vertices in between. - offset_
shape - Offsets a
SPolygonby a certaindistanceeither inwards or outwards depending on theShapeModifyMode. Relies on thegeo_offsetcrate. - shape_
modification_ valid - simplify_
shape - Simplifies a
SPolygonby reducing the number of edges.