libigl v2.5.0
Loading...
Searching...
No Matches
point_spline_squared_distance.h
Go to the documentation of this file.
1#ifndef IGL_CYCODEBASE_POINT_SPLINE_SQUARED_DISTANCE_H
2#define IGL_CYCODEBASE_POINT_SPLINE_SQUARED_DISTANCE_H
3
4#include "../igl_inline.h"
5#include <Eigen/Core>
6
7namespace igl {
8 namespace cycodebase {
26 template <
27 typename DerivedQ,
28 typename DerivedP,
29 typename DerivedC,
30 typename DerivedsqrD,
31 typename DerivedI,
32 typename DerivedS,
33 typename DerivedK>
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);
49 template <
50 typename DerivedQ,
51 typename DerivedP,
52 typename DerivedC,
53 typename DerivedB,
54 typename Derivedleaf,
55 typename DerivedsqrD,
56 typename DerivedI,
57 typename DerivedS,
58 typename DerivedK>
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);
70 }
71}
72
73#ifndef IGL_STATIC_LIBRARY
74 #include "point_spline_squared_distance.cpp"
75#endif
76
77#endif
78
79
80
Definition box_cubic.h:8
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.
Definition AABB.h:18