BoundBox.h File Reference
#include <iostream>
#include <cassert>
#include <limits>
#include "wonton/support/Point.h"
#include "wonton/support/Vector.h"
#include "portage/support/portage.h"

Go to the source code of this file.

Classes

class  Portage::IsotheticBBox< D >
 An isothetic (axis-aligned) N-dimensional bounding box. More...
 

Namespaces

 Portage
 

Typedefs

typedef IsotheticBBox< 2 > Portage::IsotheticBBox2
 
typedef IsotheticBBox< 3 > Portage::IsotheticBBox3
 

Functions

template<int D>
bool Portage::approxEq (const IsotheticBBox< D > &box1, const IsotheticBBox< D > &box2, const double &tol)
 Determine if two IsotheticBBox elements are coincident in space. More...
 
template<int D>
bool Portage::interval (const IsotheticBBox< D > &box, const Point< D > &orig, const Vector< D > &magdir, double &a, double &b)
 
template<int D>
std::ostream & Portage::operator<< (std::ostream &os, const Portage::IsotheticBBox< D > &box)
 

Variables

const double Portage::real_max = std::numeric_limits<double>::max()
 
const double Portage::real_min = std::numeric_limits<double>::min()