Commit 03e99535 authored by Jan Möbius's avatar Jan Möbius
Browse files

Adjusted meshfunctions to geometry tools moved to ACG

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9332 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0c77d318
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
#include "MeshFunctions.hh" #include "MeshFunctions.hh"
#include <ACG/Geometry/Algorithms.hh> #include <ACG/Geometry/Algorithms.hh>
#include "Math_Tools/GeometryFunctions.hh"
#include "Math_Tools/Math_Tools.hh" #include "Math_Tools/Math_Tools.hh"
#include <set> #include <set>
...@@ -177,9 +176,9 @@ cut_face(const VectorT& _porigin, ...@@ -177,9 +176,9 @@ cut_face(const VectorT& _porigin,
unsigned int npos(0), nneg(0); unsigned int npos(0), nneg(0);
if( GeometryFunctions::dist_plane< VectorT , double >( _porigin, _pnormal, p0) > 0 ) ++npos; else ++nneg; if( ACG::Geometry::distPointPlane< VectorT , double >( _porigin, _pnormal, p0) > 0 ) ++npos; else ++nneg;
if( GeometryFunctions::dist_plane< VectorT , double >( _porigin, _pnormal, p1) > 0 ) ++npos; else ++nneg; if( ACG::Geometry::distPointPlane< VectorT , double >( _porigin, _pnormal, p1) > 0 ) ++npos; else ++nneg;
if( GeometryFunctions::dist_plane< VectorT , double >( _porigin, _pnormal, p2) > 0 ) ++npos; else ++nneg; if( ACG::Geometry::distPointPlane< VectorT , double >( _porigin, _pnormal, p2) > 0 ) ++npos; else ++nneg;
if( npos && nneg ) return true; if( npos && nneg ) return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment