simple_intersect_for_tests.h File Reference
#include <vector>
#include "portage/support/portage.h"
#include "wonton/support/Point.h"

Go to the source code of this file.

Namespaces

 BOX_INTERSECT
 

Functions

template<int D>
void BOX_INTERSECT::bounding_box (std::vector< Wonton::Point< D >> coords, Wonton::Point< D > *pmin, Wonton::Point< D > *pmax)
 
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)
 
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)