MCPcopy Create free account
hub / github.com/PDAL/PDAL / position

Method position

plugins/trajectory/filters/SplineFit.cpp:14–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13template <int N>
14Eigen::Matrix<double, N, 1> SplineFit<N>::position(double t) const
15{
16 auto tcomb = tconvert(t);
17 int i = tcomb.first;
18 double tf = tcomb.second;
19
20 assert(i < num);
21
22 datum p;
23 for (int j = 0; j < N; ++j)
24 p(j) = SplineFitScalar::EndPointCubic(r[i ](j), v[i ](j),
25 r[i+1](j), v[i+1](j),
26 tf);
27 return p;
28}
29
30template <int N>
31Eigen::Matrix<double, N, 1> SplineFit<N>::position(double t, SplineFit<N>::datum& velocity) const

Callers 15

compressMethod · 0.45
unarchiveMethod · 0.45
writeMethod · 0.45
readyFileMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
readHeaderExtraDataMethod · 0.45
readyMethod · 0.45
writeChunkTableMethod · 0.45
emitRootMethod · 0.45
TrajectoryMethod · 0.45
AttitudeMethod · 0.45

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected