|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kinesis::CurveEvaluator::reparameterize_planar | ( | std::span< const double > | points, |
| size_t | dim, | ||
| Eigen::Index | point_count, | ||
| Eigen::Index | num_samples, | ||
| std::vector< double > & | out | ||
| ) |
Resample a polyline to uniform arc length, coordinate-major.
| points | Coordinate-major, dim * point_count doubles. |
| dim | Coordinate count per point, at least 1. |
| point_count | Input sample count. |
| num_samples | Output sample count, at least 2. |
| out | Resized to dim * num_samples, coordinate-major. |
points and out must not alias. A zero-length span between two consecutive points yields that span's start point rather than a division by zero.
Definition at line 741 of file MotionCurves.cpp.
References points.
Referenced by MayaFlux::Nodes::GpuSync::TopologyGeneratorNode::build_interpolated_path(), and MayaFlux::Nodes::GpuSync::PathGeneratorNode::write_curve_segment().
Here is the caller graph for this function: