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

    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

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

Required Methods

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

Implementors