BOX_INTERSECT Namespace Reference

Functions

template<int D>
void bounding_box (std::vector< Wonton::Point< D >> coords, Wonton::Point< D > *pmin, Wonton::Point< D > *pmax)
 
template<int D>
bool intersect_boxes (Wonton::Point< D > min1, Wonton::Point< D > max1, Wonton::Point< D > min2, Wonton::Point< D > max2, std::vector< double > *xsect_moments)
 
template<int D>
void intersection_moments (std::vector< Wonton::Point< D >> cell_xyz, std::vector< std::vector< Wonton::Point< D >>> candidate_cells_xyz, std::vector< int > *xcells, std::vector< std::vector< double >> *xwts)
 

Function Documentation

◆ bounding_box()

template<int D>
void BOX_INTERSECT::bounding_box ( std::vector< Wonton::Point< D >>  coords,
Wonton::Point< D > *  pmin,
Wonton::Point< D > *  pmax 
)

◆ intersect_boxes()

template<int D>
bool BOX_INTERSECT::intersect_boxes ( Wonton::Point< D >  min1,
Wonton::Point< D >  max1,
Wonton::Point< D >  min2,
Wonton::Point< D >  max2,
std::vector< double > *  xsect_moments 
)

◆ intersection_moments()

template<int D>
void BOX_INTERSECT::intersection_moments ( std::vector< Wonton::Point< D >>  cell_xyz,
std::vector< std::vector< Wonton::Point< D >>>  candidate_cells_xyz,
std::vector< int > *  xcells,
std::vector< std::vector< double >> *  xwts 
)