#include <bounding-box.hh>
Inherited by CAttributeBoundingBox.
Public Member Functions | |
Constructeurs | |
CBoundingBox () | |
CBoundingBox (const CVertex &APoint) | |
CBoundingBox (const CVertex &APoint1, const CVertex &APoint2) | |
Private Attributes | |
Attributs privés | |
CVertex | FMin |
CVertex | FMax |
bool | FIsEmpty |
Méthodes publiques | |
void | addPoint (const CVertex &APoint) |
void | clear () |
bool | isEmpty () const |
bool | isInBox (const CVertex &APoint) const |
bool | isInIntersectionWith (const CBoundingBox &ABB) const |
TCoordinate | getVolume () const |
TCoordinate | getSurface () const |
const CVertex & | getMinBound () const |
const CVertex & | getMaxBound () const |
CVertex | getEpsMinBound () const |
CVertex | getEpsMaxBound () const |
CVertex | getCenter () const |
bool | operator* (const CBoundingBox &AOther) const |
CBoundingBox | operator+ (const CBoundingBox &AOther) const |
static TCoordinate | getEpsilon () |
static void | setEpsilon (TCoordinate AEpsilon) |
Definition at line 35 of file bounding-box.hh.
CBoundingBox::CBoundingBox | ( | ) |
Constructeur par défaut
Definition at line 30 of file bounding-box.cc.
CBoundingBox::CBoundingBox | ( | const CVertex & | APoint | ) |
Constructeur avec initialisation
Definition at line 35 of file bounding-box.cc.
Constructeur avec initialisation
Definition at line 40 of file bounding-box.cc.
void CBoundingBox::addPoint | ( | const CVertex & | APoint | ) |
addPoint
APoint | Un point |
Definition at line 81 of file bounding-box.cc.
void CBoundingBox::clear | ( | ) |
clear
Cette méthode permet de vider la boîte englobante.
Definition at line 102 of file bounding-box.cc.
CVertex CBoundingBox::getCenter | ( | ) | const |
getCenter
Definition at line 178 of file bounding-box.cc.
TCoordinate CBoundingBox::getEpsilon | ( | ) | [static] |
getEpsilon
Definition at line 71 of file bounding-box.cc.
CVertex CBoundingBox::getEpsMaxBound | ( | ) | const |
getMaxBound
Definition at line 173 of file bounding-box.cc.
CVertex CBoundingBox::getEpsMinBound | ( | ) | const |
getEpsMinBound
Definition at line 168 of file bounding-box.cc.
const CVertex & CBoundingBox::getMaxBound | ( | ) | const |
getMaxBound
Definition at line 163 of file bounding-box.cc.
const CVertex & CBoundingBox::getMinBound | ( | ) | const |
getMinBound
Definition at line 158 of file bounding-box.cc.
TCoordinate CBoundingBox::getSurface | ( | ) | const |
getSurface
Definition at line 146 of file bounding-box.cc.
TCoordinate CBoundingBox::getVolume | ( | ) | const |
getVolume
Definition at line 139 of file bounding-box.cc.
bool CBoundingBox::isEmpty | ( | ) | const |
isEmpty
Definition at line 108 of file bounding-box.cc.
bool CBoundingBox::isInBox | ( | const CVertex & | APoint | ) | const |
isInBox
APoint | Un point |
Definition at line 113 of file bounding-box.cc.
bool CBoundingBox::isInIntersectionWith | ( | const CBoundingBox & | ABB | ) | const |
isInIntersectionWith
ABB | Une boîte englobante |
Definition at line 126 of file bounding-box.cc.
bool CBoundingBox::operator* | ( | const CBoundingBox & | AOther | ) | const |
operator *
AOther | Une boîte englobante |
Definition at line 183 of file bounding-box.cc.
CBoundingBox CBoundingBox::operator+ | ( | const CBoundingBox & | AOther | ) | const |
operator +
AOther | Une boîte englobante |
Definition at line 188 of file bounding-box.cc.
void CBoundingBox::setEpsilon | ( | TCoordinate | AEpsilon | ) | [static] |
setEpsilon
AEpsilon | La valeur d'Epsilon |
Definition at line 76 of file bounding-box.cc.
bool CBoundingBox::FIsEmpty [private] |
FIsEmpty Indique si la boîte est vide ou non.
Definition at line 244 of file bounding-box.hh.
CVertex CBoundingBox::FMax [private] |
Definition at line 238 of file bounding-box.hh.
CVertex CBoundingBox::FMin [private] |
FMin, FMax Les bornes inférieures et supérieures de la boîte englobante.
Definition at line 238 of file bounding-box.hh.