Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
BSPTree.cpp File Reference
#include "moab/BSPTree.hpp"
#include "moab/GeomUtil.hpp"
#include "moab/Range.hpp"
#include "Internals.hpp"
#include "moab/BSPTreePoly.hpp"
#include "moab/Util.hpp"
#include <cassert>
#include <cstring>
#include <algorithm>
#include <limits>
+ Include dependency graph for BSPTree.cpp:

Go to the source code of this file.

Classes

class  moab::BoxPlaneIter
 
class  moab::BSPTreePlaneIter
 

Namespaces

 moab
 Class representing axis-aligned bounding box.
 

Macros

#define MB_BSP_TREE_DEFAULT_TAG_NAME   "BSPTree"
 

Functions

static void moab::corners_from_box (const double box_min[3], const double box_max[3], double corners[8][3])
 
static bool moab::point_in_box (const double corners[8][3], const double point[3])
 
static void moab::copy_coords (const double src[3], double dest[3])
 
static void moab::plane_cut_edge (double old_coords_out[3], const double keep_end_coords[3], double cut_end_coords[3], const BSPTree::Plane &plane)
 Clip an edge using a plane. More...
 
static ErrorCode moab::plane_cut_box (double cut_face_out[4][3], double corners_inout[8][3], const BSPTree::Plane &plane)
 
static ErrorCode moab::plane_uncut_box (const double cut_face_in[4][3], double corners_inout[8][3], const BSPTree::Plane &plane)
 
static void moab::subtr (double result[3], const double a[3], const double b[3])
 
static void moab::sum (double result[3], const double a[3], const double b[3], const double c[3], const double d[3])
 
static void moab::cross (double result[3], const double a[3], const double b[3])
 
static double moab::dot (const double a[3], const double b[3])
 
template<typename PlaneIter >
static bool moab::ray_intersect_halfspaces (const CartVect &ray_pt, const CartVect &ray_dir, const PlaneIter &begin, const PlaneIter &end, double &t_enter, double &t_exit)
 

Variables

static const int moab::box_face_corners [6][4]
 

Detailed Description

Author
Jason Kraftcheck (kraft.nosp@m.che@.nosp@m.cae.w.nosp@m.isc..nosp@m.edu)
Date
2008-05-13

Definition in file BSPTree.cpp.

Macro Definition Documentation

◆ MB_BSP_TREE_DEFAULT_TAG_NAME

#define MB_BSP_TREE_DEFAULT_TAG_NAME   "BSPTree"

Definition at line 37 of file BSPTree.cpp.