Type Alias rust::geometry::PolygonGeometry

source ·
pub type PolygonGeometry = BaseGeometry<Polygon, PolygonMValues, BBox>;
Expand description

PolygonGeometry is a polygon with potential holes

Aliased Type§

struct PolygonGeometry {
    pub coordinates: Vec<Vec<(f64, f64)>>,
    pub m_values: Option<Vec<Vec<BTreeMap<String, Value>>>>,
    pub bbox: Option<BBox>,
}

Fields§

§coordinates: Vec<Vec<(f64, f64)>>

The geometry shape

§m_values: Option<Vec<Vec<BTreeMap<String, Value>>>>

The M-Values shape

§bbox: Option<BBox>

The BBox shape