Drake
spline_helpers.h File Reference
#include <functional>
#include <memory>
#include <vector>
#include "ignition/math/Spline.hh"
#include "ignition/math/Vector3.hh"
#include "drake/common/drake_copyable.h"
Include dependency graph for spline_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  InverseFunctionInterpolator
 A linear interpolator for arbitrary inverse functions. More...
 
class  ArcLengthParameterizedSpline
 An extension for ignition::math::Splines that reparameterizes them by path length. More...
 

Namespaces

 drake
 
 drake::maliput
 
 drake::maliput::rndf
 

Functions

std::vector< ignition::math::Vector3d > SplineToBezier (const ignition::math::Vector3d &p0, const ignition::math::Vector3d &t0, const ignition::math::Vector3d &p1, const ignition::math::Vector3d &t1)
 Provides the equivalent set of points in cubic Bezier base from two pairs of points and tangents at the extents of a spline. More...
 
std::vector< ignition::math::Vector3d > BezierToSpline (const ignition::math::Vector3d &p0, const ignition::math::Vector3d &p1, const ignition::math::Vector3d &p2, const ignition::math::Vector3d &p3)
 Provides the equivalent set of points in cubic spline base from four cubic Bezier control points. More...
 
std::vector< ignition::math::Vector3d > MakeBezierCurveMonotonic (const std::vector< ignition::math::Vector3d > &control_points, double scale)
 Provides a conditionally convex and monotonic Bezier curve given a vector of control points control_points. More...
 
std::unique_ptr< ignition::math::Spline > CreatePChipBasedSpline (const std::vector< ignition::math::Vector3d > &positions)
 Creates a ignition::math::Spline from a set of positions. More...