Attempts to simplify a cubic curve to a line or quadratic curve if it fits within the given error bound. Returns the simplified action, or the original action if no simplification is possible. For a cubic curve starting at `current_point`: - Returns a Line if both control points lie on the line between start and end within `max_error` - Returns a QuadraticCurve if the cubic can be represented as
(&self, current_point: WorkingPoint, max_error: f64)
source not stored for this graph (policy: none)
no test coverage detected