RootCsg::TBBox Class Reference

List of all members.

Public Member Functions

 TBBox ()
 TBBox (const TPoint3 &mini, const TPoint3 &maxi)
const TPoint3Center () const
const TVector3Extent () const
TPoint3Center ()
TVector3Extent ()
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)

Detailed Description

Definition at line 1272 of file CsgOps.cxx.


Constructor & Destructor Documentation

RootCsg::TBBox::TBBox (  )  [inline]

Definition at line 1280 of file CsgOps.cxx.

RootCsg::TBBox::TBBox ( const TPoint3 mini,
const TPoint3 maxi 
) [inline]

Definition at line 1281 of file CsgOps.cxx.

References SetValue().


Member Function Documentation

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]

Definition at line 1284 of file CsgOps.cxx.

References fExtent.

TPoint3& RootCsg::TBBox::Center (  )  [inline]

Definition at line 1285 of file CsgOps.cxx.

References fCenter.

TVector3& RootCsg::TBBox::Extent (  )  [inline]

Definition at line 1286 of file CsgOps.cxx.

References fExtent.

void RootCsg::TBBox::SetValue ( const TPoint3 mini,
const TPoint3 maxi 
) [inline]

Definition at line 1288 of file CsgOps.cxx.

References fCenter, and fExtent.

Referenced by Enclose(), Include(), and TBBox().

void RootCsg::TBBox::Enclose ( const TBBox a,
const TBBox b 
) [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]

Definition at line 1328 of file CsgOps.cxx.

References b, and Enclose().

Double_t RootCsg::TBBox::Lower ( Int_t  i  )  const [inline]

Definition at line 1332 of file CsgOps.cxx.

References fCenter, and fExtent.

Double_t RootCsg::TBBox::Upper ( Int_t  i  )  const [inline]

Definition at line 1336 of file CsgOps.cxx.

References fCenter, and fExtent.

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]

Definition at line 1348 of file CsgOps.cxx.

References fExtent, and TMath::Max().

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().

Bool_t RootCsg::TBBox::IntersectXRay ( const TPoint3 xBase  )  const [inline]

Definition at line 1356 of file CsgOps.cxx.

References kFALSE, kTRUE, Lower(), and Upper().


Friends And Related Function Documentation

Bool_t intersect ( const TBBox a,
const TBBox b 
) [friend]

Definition at line 1368 of file CsgOps.cxx.


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 17:00:47 2011 for ROOT_528-00b_version by  doxygen 1.5.1