pub trait Polygon90<C: CoordinateConcept>: Polygon<C> + Polygon90WithHoles<C> {
    type CompactIterator: Iterator<Item = C::Coord>;

    // Required method
    fn compact_iter(&self) -> Self::CompactIterator;
}
Expand description

Concept of a polygon with axis-aligned edges. The polygon consists of a single closed loop of vertices, i.e. has no holes.

Required Associated Types§

source

type CompactIterator: Iterator<Item = C::Coord>

Iterator over alternating x/y coordinates of the points. Starts with an x coordinate.

Required Methods§

source

fn compact_iter(&self) -> Self::CompactIterator

Iterate over alternating x/y coordinates of the polygon vertices. Start with an x coordinate.

Implementors§