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§
- offset_
shape - Offsets a
SPolygon
by a certaindistance
either inwards or outwards depending on theShapeModifyMode
. Relies on thegeo_offset
crate. - simplify_
shape - Simplifies a
SPolygon
by reducing the number of edges.