pub fn new_monotone_polygon<T>( points: Vec<Point<T, 2>>, direction: &Vector<T, 2>, ) -> Result<Polygon<T>, Error>where T: PolygonScalar,
Generates a monotone polygon from given points with respect to given direction