pub trait ToPolygon<T> {
    // Required method
    fn to_polygon(&self) -> Polygon<T>;
}
Expand description

Trait for the conversion of a geometric shape to a polygon.

Required Methods§

source

fn to_polygon(&self) -> Polygon<T>

Convert the geometric object into a polygon.

Implementors§