#include <GeoPrimitives.H>
Public Member Functions | |
CBox () | |
CBox (const std::vector< CPoint > &pv) | |
CBox (const double *points, unsigned int n) | |
CBox (const CPoint &ip1, const CPoint &ip2) | |
CBox (const CBox &box) | |
const CPoint & | P1 () const |
const CPoint & | P2 () const |
bool | empty () const |
CPoint & | P1 () |
CPoint & | P2 () |
void | init (const double *points, unsigned int n) |
CBox & | operator= (const CBox &b) |
CBox | around (const CPoint &p) const |
bool | operator== (const CBox &b) const |
CPoint & | min () |
const CPoint & | min () const |
CPoint & | max () |
const CPoint & | max () const |
bool | contains (const CPoint &p) const |
bool | contains (const double *p) const |
double | size () const |
bool | operator< (const CBox &b) const |
bool | operator> (const CBox &b) const |
void | AddPoint (const CPoint &p) |
void | merge (const CBox &b) |
bool | collide (const CBox &b) const |
CBox | intersect (const CBox &b) const |
Protected Attributes | |
CPoint | p1 |
CPoint | p2 |
Private Attributes | |
bool | initd |
Friends | |
std::ostream & | operator<< (std::ostream &, const CBox &) |
Definition at line 1126 of file GeoPrimitives.H.
|
inline |
Definition at line 1134 of file GeoPrimitives.H.
References CBox::initd, CBox::p1, CBox::p2, and CPoint::reset().
Definition at line 1140 of file GeoPrimitives.H.
References CBox::initd, CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
|
inline |
Definition at line 1161 of file GeoPrimitives.H.
References i, CBox::initd, n, CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
|
inline |
Definition at line 1275 of file GeoPrimitives.H.
References CBox::initd, CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
Definition at line 1213 of file GeoPrimitives.H.
References CBox::p1, CBox::p2, v, CPoint::x(), CVector::x(), CPoint::y(), CVector::y(), CPoint::z(), and CVector::z().
|
inline |
Definition at line 1309 of file GeoPrimitives.H.
References CBox::empty(), CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
Referenced by CBox::intersect().
|
inline |
Definition at line 1249 of file GeoPrimitives.H.
References CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
|
inline |
Definition at line 1255 of file GeoPrimitives.H.
References CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
|
inline |
Definition at line 1185 of file GeoPrimitives.H.
References CBox::p1, CBox::p2, GeoPrim::TOL, CPoint::x(), CPoint::y(), and CPoint::z().
Referenced by CBox::collide(), and main().
|
inline |
Definition at line 1190 of file GeoPrimitives.H.
References i, CBox::initd, n, CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
Definition at line 1317 of file GeoPrimitives.H.
References CBox::collide(), CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
|
inline |
Definition at line 1241 of file GeoPrimitives.H.
References CBox::p2.
|
inline |
Definition at line 1245 of file GeoPrimitives.H.
References CBox::p2.
|
inline |
Definition at line 1291 of file GeoPrimitives.H.
References CBox::initd, CBox::p1, CBox::p2, CPoint::x(), CPoint::y(), and CPoint::z().
Referenced by main().
|
inline |
Definition at line 1233 of file GeoPrimitives.H.
References CBox::p1.
|
inline |
Definition at line 1237 of file GeoPrimitives.H.
References CBox::p1.
|
inline |
Definition at line 1267 of file GeoPrimitives.H.
References CBox::size().
|
inline |
|
inline |
Definition at line 1271 of file GeoPrimitives.H.
References CBox::size().
|
inline |
Definition at line 1183 of file GeoPrimitives.H.
References CBox::p1.
Referenced by main(), and GeoPrim::operator<<().
|
inline |
|
inline |
Definition at line 1184 of file GeoPrimitives.H.
References CBox::p2.
Referenced by main(), and GeoPrim::operator<<().
|
inline |
|
inline |
Definition at line 1262 of file GeoPrimitives.H.
References CBox::p1, CBox::p2, v, CVector::x(), CVector::y(), and CVector::z().
Referenced by CBox::operator<(), and CBox::operator>().
|
friend |
Definition at line 55 of file GeoPrimitives.C.
|
private |
Definition at line 1129 of file GeoPrimitives.H.
Referenced by CBox::AddPoint(), CBox::CBox(), CBox::init(), CBox::merge(), and CBox::operator=().
|
protected |
Definition at line 1131 of file GeoPrimitives.H.
Referenced by CBox::AddPoint(), CBox::around(), CBox::CBox(), CBox::collide(), CBox::contains(), CBox::empty(), CBox::init(), CBox::intersect(), CBox::merge(), CBox::min(), CBox::operator=(), CBox::operator==(), CBox::P1(), and CBox::size().
|
protected |
Definition at line 1132 of file GeoPrimitives.H.
Referenced by CBox::AddPoint(), CBox::around(), CBox::CBox(), CBox::collide(), CBox::contains(), CBox::empty(), CBox::init(), CBox::intersect(), CBox::max(), CBox::merge(), CBox::operator=(), CBox::operator==(), CBox::P2(), and CBox::size().