21 #ifndef MOAB_BSP_TREE_HPP
22 #define MOAB_BSP_TREE_HPP
62 bool destroy_created_trees,
63 const char* tagname = 0,
91 Plane(
double a,
double b,
double c,
double d ) :
coeff( d )
118 bool below(
const double point[3] )
const
124 bool above(
const double point[3] )
const
143 void set(
const double normal[3],
const double point[3] )
145 const double dot = normal[0] * point[0] + normal[1] * point[1] + normal[2] * point[2];
149 void set(
const double pt1[3],
const double pt2[3],
const double pt3[3] );
151 void set(
double i,
double j,
double k,
double cff )
153 *
this =
Plane( i, j, k, cff );
159 coeff = -point_on_axis;
224 const std::vector< EntityHandle >& left_entities,
225 const std::vector< EntityHandle >& right_entities );
326 virtual double volume()
const;
344 const double ray_vect[3],
346 double& t_exit )
const;
408 return (
SideBits)( ( ~bits ) & 0xFF );
470 bool intersect_ray(
const double ray_point[3],
const double ray_vect[3],
double& t_enter,
double& t_exit )
const;