rgeometry::algorithms::polygonization

Function new_monotone_polygon

Source
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