Expand description
Approximate a LineString with a cubic bezier spline BezierString or approximate a BezierString with a LineString
Pass the line_string and a maximum allowed error to BezierString::from_line_string The error is the maximum distance between the line_string and the bezier spline evaluated at the line_string vertices and at the middle point between the vertices
Structs§
- Bezier
Curve - Simple struct to represent a cubic bezier curve
- Bezier
String - A BezierString is simply a vector of BezierSegments
Enums§
- Bezier
Segment - A BezierSegment is either a straight Line or a BezierCurve
- Error
- Error enum for the crate