Function rgeometry::algorithms::monotone_polygon::new_monotone_polygon[][src]

pub fn new_monotone_polygon<T>(
    points: Vec<Point<T, 2>>,
    direction: &Vector<T, 2>
) -> Result<Polygon<T>, Error> where
    T: PolygonScalar
Expand description

Generates a monotone polygon from given points with respect to given direction