|
@@ -190,7 +190,7 @@ public:
|
|
const RowVectorDIMS & p,
|
|
const RowVectorDIMS & p,
|
|
int & i,
|
|
int & i,
|
|
RowVectorDIMS & c) const;
|
|
RowVectorDIMS & c) const;
|
|
-private:
|
|
|
|
|
|
+//private:
|
|
inline Scalar squared_distance(
|
|
inline Scalar squared_distance(
|
|
const Eigen::PlainObjectBase<DerivedV> & V,
|
|
const Eigen::PlainObjectBase<DerivedV> & V,
|
|
const Eigen::MatrixXi & Ele,
|
|
const Eigen::MatrixXi & Ele,
|
|
@@ -369,7 +369,7 @@ inline void igl::AABB<DerivedV,DIM>::init(
|
|
using namespace Eigen;
|
|
using namespace Eigen;
|
|
using namespace std;
|
|
using namespace std;
|
|
assert(DIM == V.cols() && "V.cols() should matched declared dimension");
|
|
assert(DIM == V.cols() && "V.cols() should matched declared dimension");
|
|
- const Scalar inf = numeric_limits<Scalar>::infinity();
|
|
|
|
|
|
+ //const Scalar inf = numeric_limits<Scalar>::infinity();
|
|
m_box = AlignedBox<Scalar,DIM>();
|
|
m_box = AlignedBox<Scalar,DIM>();
|
|
// Compute bounding box
|
|
// Compute bounding box
|
|
for(int i = 0;i<I.rows();i++)
|
|
for(int i = 0;i<I.rows();i++)
|