8#ifndef IGL_SHAPE_DIAMETER_FUNCTION_H
9#define IGL_SHAPE_DIAMETER_FUNCTION_H
34 typename DerivedP::Scalar(
35 const Eigen::Matrix<typename DerivedP::Scalar,3,1> &,
36 const Eigen::Matrix<typename DerivedP::Scalar,3,1> &)
38 const Eigen::MatrixBase<DerivedP> & P,
39 const Eigen::MatrixBase<DerivedN> & N,
40 const int num_samples,
41 Eigen::PlainObjectBase<DerivedS> & S);
56 const Eigen::MatrixBase<DerivedV> & V,
57 const Eigen::MatrixBase<DerivedF> & F,
58 const Eigen::MatrixBase<DerivedP> & P,
59 const Eigen::MatrixBase<DerivedN> & N,
60 const int num_samples,
61 Eigen::PlainObjectBase<DerivedS> & S);
70 const Eigen::MatrixBase<DerivedV> & V,
71 const Eigen::MatrixBase<DerivedF> & F,
72 const Eigen::MatrixBase<DerivedP> & P,
73 const Eigen::MatrixBase<DerivedN> & N,
74 const int num_samples,
75 Eigen::PlainObjectBase<DerivedS> & S);
83 const Eigen::MatrixBase<DerivedV> & V,
84 const Eigen::MatrixBase<DerivedF> & F,
86 const int num_samples,
87 Eigen::PlainObjectBase<DerivedS> & S);
89#ifndef IGL_STATIC_LIBRARY
90# include "shape_diameter_function.cpp"
Implementation of semi-general purpose axis-aligned bounding box hierarchy.
Definition AABB.h:31
#define IGL_INLINE
Definition igl_inline.h:15
void shape_diameter_function(const std::function< typename DerivedP::Scalar(const Eigen::Matrix< typename DerivedP::Scalar, 3, 1 > &, const Eigen::Matrix< typename DerivedP::Scalar, 3, 1 > &) > &shoot_ray, const Eigen::MatrixBase< DerivedP > &P, const Eigen::MatrixBase< DerivedN > &N, const int num_samples, Eigen::PlainObjectBase< DerivedS > &S)
Compute shape diamater function per given point.