Function dekink_polygon
Source pub fn dekink_polygon<P: FullXY>(
polygon: &[Vec<P>],
) -> Option<(Vec<Vec<Vec<P>>>, BBox)>
Expand description
Given a polygon, if the polygon is kinked, dekink it
§Parameters
polygon: the polygon as either a VectorFeature, VectorPolygonGeometry, or raw VectorPolygon
§Returns
The dekinked polygon