8#ifndef IGL_IN_ELEMENT_H
9#define IGL_IN_ELEMENT_H
14#include <Eigen/Sparse>
28 template <
typename DerivedV,
typename DerivedQ,
int DIM>
30 const Eigen::MatrixBase<DerivedV> & V,
31 const Eigen::MatrixXi & Ele,
32 const Eigen::MatrixBase<DerivedQ> & Q,
39 template <
typename DerivedV,
typename DerivedQ,
int DIM,
typename Scalar>
41 const Eigen::MatrixBase<DerivedV> & V,
42 const Eigen::MatrixXi & Ele,
43 const Eigen::MatrixBase<DerivedQ> & Q,
45 Eigen::SparseMatrix<Scalar> & I);
48#ifndef IGL_STATIC_LIBRARY
49#include "in_element.cpp"
Implementation of semi-general purpose axis-aligned bounding box hierarchy.
Definition AABB.h:30
#define IGL_INLINE
Definition igl_inline.h:15
void in_element(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixXi &Ele, const Eigen::MatrixBase< DerivedQ > &Q, const AABB< DerivedV, DIM > &aabb, Eigen::VectorXi &I)
Determine whether each point in a list of points is in the elements of a mesh.