Expand description
Approximate a geo_types::LineString
Pass the linestring and a maximum allowed error to BezierString::from_linestring The error is the maximum distance between the linestring and the bezier spline evaluated at the linestring vertices and at the middle point between the vertices
Structsยง
- Bezier
Segment - Simple struct to represent a bezier segment
If the
OptionisNonethen the segment is a simple straight line segment - Bezier
String - A BezierString is simply a vector of BezierSegments