Logo Search packages:      
Sourcecode: blender version File versions  Download package

BOP_TAG BOP_BSPTree::filterFace ( const MT_Point3 p1,
const MT_Point3 p2,
const MT_Point3 p3,
BOP_Face *  face 
)

Filters a face using the BSP bounding infomation.

Parameters:
p1 first face triangle point.
p2 secons face triangle point.
p3 third face triangle point.
face face to test.
Returns:
UNCLASSIFIED, BSP_IN, BSP_OUT or BSP_IN_OUT

Definition at line 135 of file BOP_BSPTree.cpp.

{
      if ( m_bspBB != NULL ) {
            return m_bspBB->classifyFace(p1,p2,p3,face->getPlane());
      }
      else
            return UNCLASSIFIED;
}


Generated by  Doxygen 1.6.0   Back to index