16 #ifndef SURGSIM_MATH_CARDINALSPLINES_H 17 #define SURGSIM_MATH_CARDINALSPLINES_H 29 namespace CardinalSplines
38 std::vector<SurgSim::Math::Vector3d>* result);
50 const std::vector<Math::Vector3d>& controlPoints,
51 std::vector<Math::Vector3d>* points,
58 #endif // SURGSIM_MATH_CARDINALSPLINES_H Definition: CompoundShapeToGraphics.cpp:29
void interpolate(size_t subdivisions, const std::vector< SurgSim::Math::Vector3d > &controlPoints, std::vector< SurgSim::Math::Vector3d > *points, double tau)
Run Cardinal Splines interpolation on 'controlPoints'.
Definition: CardinalSplines.cpp:45
Definitions of small fixed-size vector types.
Base class for mesh structures, handling basic vertex functionality.
Definition: Vertices.h:51
void extendControlPoints(const SurgSim::DataStructures::VerticesPlain &points, std::vector< SurgSim::Math::Vector3d > *result)
Function to add two 'ghost' points to 'points' at the beginning and the end, prepare 'points' for Car...
Definition: CardinalSplines.cpp:26