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
position
of theHazardEntity
that the shape represents.
Functions§
- close_
narrow_ concavities - Closes narrow concavities in a
SPolygon
by replacing them with a straight edge, eliminating the vertices in between. - offset_
shape - Offsets a
SPolygon
by a certaindistance
either inwards or outwards depending on theShapeModifyMode
. Relies on thegeo_offset
crate. - shape_
modification_ valid - simplify_
shape - Simplifies a
SPolygon
by reducing the number of edges.