Public Member Functions | |
TBBox () | |
TBBox (const TPoint3 &mini, const TPoint3 &maxi) | |
const TPoint3 & | Center () const |
const TVector3 & | Extent () const |
TPoint3 & | Center () |
TVector3 & | Extent () |
void | SetValue (const TPoint3 &mini, const TPoint3 &maxi) |
void | Enclose (const TBBox &a, const TBBox &b) |
void | SetEmpty () |
void | Include (const TPoint3 &p) |
void | Include (const TBBox &b) |
Double_t | Lower (Int_t i) const |
Double_t | Upper (Int_t i) const |
TPoint3 | Lower () const |
TPoint3 | Upper () const |
Double_t | Size () const |
Int_t | LongestAxis () const |
Bool_t | IntersectXRay (const TPoint3 &xBase) const |
Private Attributes | |
TPoint3 | fCenter |
TVector3 | fExtent |
Friends | |
Bool_t | intersect (const TBBox &a, const TBBox &b) |
Definition at line 1272 of file CsgOps.cxx.
RootCsg::TBBox::TBBox | ( | ) | [inline] |
Definition at line 1280 of file CsgOps.cxx.
const TPoint3& RootCsg::TBBox::Center | ( | ) | const [inline] |
Definition at line 1283 of file CsgOps.cxx.
References fCenter.
Referenced by RootCsg::TBBoxTree::RecursiveTreeBuild().
const TVector3& RootCsg::TBBox::Extent | ( | ) | const [inline] |
TPoint3& RootCsg::TBBox::Center | ( | ) | [inline] |
TVector3& RootCsg::TBBox::Extent | ( | ) | [inline] |
Definition at line 1293 of file CsgOps.cxx.
References a, b, TMath::Max(), TMath::Min(), and SetValue().
Referenced by Include().
void RootCsg::TBBox::SetEmpty | ( | ) | [inline] |
Definition at line 1308 of file CsgOps.cxx.
References fCenter, fExtent, RootCsg::infinity, and RootCsg::Tuple3::SetValue().
Referenced by RootCsg::TMeshWrapper< TMesh >::ComputeBBox(), RootCsg::fit_bbox(), and RootCsg::TBBoxInternal::TBBoxInternal().
void RootCsg::TBBox::Include | ( | const TPoint3 & | p | ) | [inline] |
Definition at line 1313 of file CsgOps.cxx.
References Lower(), TMath::Max(), TMath::Min(), p, SetValue(), and Upper().
Referenced by RootCsg::TMeshWrapper< TMesh >::ComputeBBox(), RootCsg::fit_bbox(), and RootCsg::TBBoxInternal::TBBoxInternal().
void RootCsg::TBBox::Include | ( | const TBBox & | b | ) | [inline] |
TPoint3 RootCsg::TBBox::Lower | ( | ) | const [inline] |
Definition at line 1340 of file CsgOps.cxx.
References fCenter, and fExtent.
Referenced by Include(), and IntersectXRay().
TPoint3 RootCsg::TBBox::Upper | ( | ) | const [inline] |
Definition at line 1344 of file CsgOps.cxx.
References fCenter, and fExtent.
Referenced by Include(), and IntersectXRay().
Double_t RootCsg::TBBox::Size | ( | ) | const [inline] |
Int_t RootCsg::TBBox::LongestAxis | ( | ) | const [inline] |
Definition at line 1352 of file CsgOps.cxx.
References RootCsg::TVector3::ClosestAxis(), and fExtent.
Referenced by RootCsg::TBBoxTree::RecursiveTreeBuild().
Definition at line 1368 of file CsgOps.cxx.
TPoint3 RootCsg::TBBox::fCenter [private] |
Definition at line 1276 of file CsgOps.cxx.
Referenced by Center(), Lower(), SetEmpty(), SetValue(), and Upper().
TVector3 RootCsg::TBBox::fExtent [private] |
Definition at line 1277 of file CsgOps.cxx.
Referenced by Extent(), LongestAxis(), Lower(), SetEmpty(), SetValue(), Size(), and Upper().