![]() |
RaidZeroLib
Coroutine robot framework for VEX V5
|
Parametric paths (cubic Bézier curves) and discretised paths. More...
Classes | |
| class | rz::CubicBezier |
| Cubic Bézier parametric path segment. More... | |
| class | rz::DiscretePath |
| Immutable sequence of 2D waypoints with unit-safe geometry. More... | |
| class | rz::ParametricPath |
| Differentiable 2D path over a unit-interval parameter t ∈ [0, 1]. More... | |
| class | rz::PiecewiseCubicBezier |
| Piecewise cubic Bézier path over t ∈ [0, 1] with segment-uniform parameterization. More... | |
Functions | |
| DiscretePath::const_iterator | rz::closestPoint (DiscretePath::const_iterator begin, DiscretePath::const_iterator end, const Point &point) |
| Iterator-based closest-point search by Euclidean distance. | |
Parametric paths (cubic Bézier curves) and discretised paths.
| DiscretePath::const_iterator rz::closestPoint | ( | DiscretePath::const_iterator | begin, |
| DiscretePath::const_iterator | end, | ||
| const Point & | point ) |
Iterator-based closest-point search by Euclidean distance.
Returns an iterator to the element in [begin, end) minimizing distTo(point). If the range is empty, returns end.
| begin | Const iterator to the first waypoint. |
| end | Const iterator one past the last waypoint. |
| point | Query point (meters). |
end if the range is empty.