1#ifndef IGL_CYCODEBASE_POINT_SPLINE_SQUARED_DISTANCE_H
2#define IGL_CYCODEBASE_POINT_SPLINE_SQUARED_DISTANCE_H
35 const Eigen::MatrixBase<DerivedQ>& Q,
36 const Eigen::MatrixBase<DerivedP>& P,
37 const Eigen::MatrixBase<DerivedC>& C,
38 Eigen::PlainObjectBase<DerivedsqrD>& sqrD,
39 Eigen::PlainObjectBase<DerivedI>& I,
40 Eigen::PlainObjectBase<DerivedS>& S,
41 Eigen::PlainObjectBase<DerivedK>& K);
60 const Eigen::MatrixBase<DerivedQ>& Q,
61 const Eigen::MatrixBase<DerivedP>& P,
62 const Eigen::MatrixBase<DerivedC>& C,
63 const Eigen::MatrixBase<DerivedB>& B1,
64 const Eigen::MatrixBase<DerivedB>& B2,
65 const Eigen::MatrixBase<Derivedleaf>& leaf,
66 Eigen::PlainObjectBase<DerivedsqrD>& sqrD,
67 Eigen::PlainObjectBase<DerivedI>& I,
68 Eigen::PlainObjectBase<DerivedS>& S,
69 Eigen::PlainObjectBase<DerivedK>& K);
73#ifndef IGL_STATIC_LIBRARY
74 #include "point_spline_squared_distance.cpp"
void point_spline_squared_distance(const Eigen::MatrixBase< DerivedQ > &Q, const Eigen::MatrixBase< DerivedP > &P, const Eigen::MatrixBase< DerivedC > &C, Eigen::PlainObjectBase< DerivedsqrD > &sqrD, Eigen::PlainObjectBase< DerivedI > &I, Eigen::PlainObjectBase< DerivedS > &S, Eigen::PlainObjectBase< DerivedK > &K)
Compute the squared distance from a set of points to a spline defined by cubic Bezier curves.