src/Geometry/clipConvexFacetedVolumeByPlanes3d.cc
//------------------------------------------------------------------------------
// Compare a plane and point (our built-in plane one has some issues).
//------------------------------------------------------------------------------
Compare a plane and point (our built-in plane one has some issues).
Compare a plane and point ( our built - in plane one has some issues ) .
inline
int compare(const Dim<3>::Vector& planePoint,
            const Dim<3>::Vector& planeNormal,
            const Dim<3>::Vector& point) {
  const auto sgndist = planeNormal.dot(point - planePoint);
  if (std::abs(sgndist) < 1.0e-8) return 0;
  return sgn0(sgndist);
}
inline int compare ( const Dim < 3 > :: Vector & planePoint , const Dim < 3 > :: Vector & planeNormal , const Dim < 3 > :: Vector & point ) { const auto sgndist = planeNormal . dot ( point - planePoint ) ; if ( std :: abs ( sgndist ) < 1.0e-8 ) return 0 ; return sgn0 ( sgndist ) ; }
Compare a plane and point (our built-in plane one has some issues).
Compare a plane and point ( our built - in plane one has some issues ) .