Module iron_shapes::polygon
source · Expand description
This module contains data types and functions for polygons with holes.
Re-exports
pub use crate::traits::BoundingBox;
pub use crate::traits::DoubledOrientedArea;
pub use crate::traits::MapPointwise;
pub use crate::traits::WindingNumber;
pub use crate::simple_polygon::*;
Structs
- A polygon possibly with holes. The polygon is defined by a hull and a list of holes which are both
SimplePolygon
s.
Traits
- Trait for the conversion of a geometric shape to a polygon.