|
@@ -16,11 +16,8 @@ namespace igl
|
|
// dim dimension of input
|
|
// dim dimension of input
|
|
// Inputs:
|
|
// Inputs:
|
|
// V n by 3 list of vertex positions
|
|
// V n by 3 list of vertex positions
|
|
- // n number of mesh vertices
|
|
|
|
// F #F by 3 list of triangle indices, minimum index is 0
|
|
// F #F by 3 list of triangle indices, minimum index is 0
|
|
- // m number of faces
|
|
|
|
// O no by 3 list of origin positions
|
|
// O no by 3 list of origin positions
|
|
- // no number of origins
|
|
|
|
// Outputs:
|
|
// Outputs:
|
|
// S no by 1 list of winding numbers
|
|
// S no by 1 list of winding numbers
|
|
//
|
|
//
|
|
@@ -30,6 +27,18 @@ namespace igl
|
|
const Eigen::MatrixXi & F,
|
|
const Eigen::MatrixXi & F,
|
|
const Eigen::MatrixXd & O,
|
|
const Eigen::MatrixXd & O,
|
|
Eigen::VectorXd & W);
|
|
Eigen::VectorXd & W);
|
|
|
|
+ // Inputs:
|
|
|
|
+ // V pointer to array containing #V by 3 vertex positions along rows,
|
|
|
|
+ // given in column major order
|
|
|
|
+ // n number of mesh vertices
|
|
|
|
+ // F pointer to array containing #F by 3 face indices along rows,
|
|
|
|
+ // given in column major order
|
|
|
|
+ // m number of faces
|
|
|
|
+ // O pointer to array containing #O by 3 query positions along rows,
|
|
|
|
+ // given in column major order
|
|
|
|
+ // no number of origins
|
|
|
|
+ // Outputs:
|
|
|
|
+ // S no by 1 list of winding numbers
|
|
template <typename DerivedF>
|
|
template <typename DerivedF>
|
|
IGL_INLINE void winding_number_3(
|
|
IGL_INLINE void winding_number_3(
|
|
const double * V,
|
|
const double * V,
|