8#ifndef IGL_EMBREE_SHAPE_DIAMETER_FUNCTION_H
9#define IGL_EMBREE_SHAPE_DIAMETER_FUNCTION_H
10#include "../igl_inline.h"
17 class EmbreeIntersector;
32 const Eigen::PlainObjectBase<DerivedP> & P,
33 const Eigen::PlainObjectBase<DerivedN> & N,
34 const int num_samples,
35 Eigen::PlainObjectBase<DerivedS> & S);
48 const Eigen::PlainObjectBase<DerivedV> & V,
49 const Eigen::PlainObjectBase<DerivedF> & F,
50 const Eigen::PlainObjectBase<DerivedP> & P,
51 const Eigen::PlainObjectBase<DerivedN> & N,
52 const int num_samples,
53 Eigen::PlainObjectBase<DerivedS> & S);
56#ifndef IGL_STATIC_LIBRARY
57# include "shape_diameter_function.cpp"
Simple class to wrap Embree's ray tracing functionality.
Definition EmbreeIntersector.h:36
#define IGL_INLINE
Definition igl_inline.h:15
void shape_diameter_function(const EmbreeIntersector &ei, const Eigen::PlainObjectBase< DerivedP > &P, const Eigen::PlainObjectBase< DerivedN > &N, const int num_samples, Eigen::PlainObjectBase< DerivedS > &S)
Compute shape diamter function per given point.