library: libGeom #include "TGeoHalfSpace.h" | 
TGeoHalfSpace
class description - source file - inheritance tree (.pdf)
    public:
                          TGeoHalfSpace()
                          TGeoHalfSpace(const char* name, Double_t* p, Double_t* n)
                          TGeoHalfSpace(Double_t* params)
                          TGeoHalfSpace(const TGeoHalfSpace&)
                  virtual ~TGeoHalfSpace()
           static TClass* Class()
             virtual void ComputeBBox()
             virtual void ComputeNormal(Double_t* point, Double_t* dir, Double_t* norm)
           virtual Bool_t Contains(Double_t* point) const
            virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
         virtual Double_t DistFromInside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
         virtual Double_t DistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
      virtual TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
             virtual void GetBoundingCylinder(Double_t*) const
       virtual TGeoShape* GetMakeRuntimeShape(TGeoShape*, TGeoMatrix*) const
            virtual Int_t GetNmeshVertices() const
        virtual Double_t* GetNorm()
        virtual Double_t* GetPoint()
             virtual void InspectShape() const
          virtual TClass* IsA() const
           virtual Bool_t IsCylType() const
           TGeoHalfSpace& operator=(const TGeoHalfSpace&)
         virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const
             virtual void SavePrimitive(ofstream& out, Option_t* option)
             virtual void SetDimensions(Double_t* param)
             virtual void SetPoints(Double_t*) const
             virtual void SetPoints(Float_t*) const
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Sizeof3D() const
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
    private:
      Double_t fP[3]  
      Double_t fN[3]  
 TGeoHalfSpace - A half-space defined by:
            p[3] - an arbitrary point on the plane
            n[3] - normal at the plane in point P
    A half-space is not really a shape, because it is infinite. The normal
    points "outside" the half-space
_____________________________________________________________________________
 TGeoHalfSpace()
 Dummy constructor
 TGeoHalfSpace(const char *name, Double_t *p, Double_t *n)
              :TGeoBBox(name, 0,0,0)
 Constructor with name, point on the plane and normal
 TGeoHalfSpace(Double_t *param)
              :TGeoBBox(0,0,0)
 Default constructor specifying minimum and maximum radius
 ~TGeoHalfSpace()
 destructor
void ComputeNormal(Double_t * /*point*/, Double_t *dir, Double_t *norm)
 Compute normal to closest surface from POINT.
Bool_t Contains(Double_t *point) const
 test if point is inside the half-space
Int_t DistancetoPrimitive(Int_t /*px*/, Int_t /*py*/)
 A half-space does not have a mesh primitive
Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
 compute distance from inside point to the plane
Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
 compute distance from inside point to the plane
TGeoVolume* Divide(TGeoVolume * /*voldiv*/, const char * /*divname*/, Int_t /*iaxis*/, Int_t /*ndiv*/, 
                             Double_t /*start*/, Double_t /*step*/) 
void InspectShape() const
 print shape parameters
Double_t Safety(Double_t *point, Bool_t /*in*/) const
 computes the closest distance from given point to this shape, according
 to option. The matching point on the shape is stored in spoint.
void SavePrimitive(ofstream &out, Option_t * /*option*/)
 Save a primitive as a C++ statement(s) on output stream "out".
void SetDimensions(Double_t *param)
Inline Functions
                  void ComputeBBox()
             Double_t* GetPoint()
             Double_t* GetNorm()
                  void GetBoundingCylinder(Double_t*) const
            TGeoShape* GetMakeRuntimeShape(TGeoShape*, TGeoMatrix*) const
                 Int_t GetNmeshVertices() const
                Bool_t IsCylType() const
                  void SetPoints(Double_t*) const
                  void SetPoints(Float_t*) const
                  void Sizeof3D() const
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
         TGeoHalfSpace TGeoHalfSpace(const TGeoHalfSpace&)
        TGeoHalfSpace& operator=(const TGeoHalfSpace&)
Author: Mihaela Gheata 03/08/04
Last update: :$Name:  $:$Id: TGeoHalfSpace.cxx,v 1.8 2005/05/13 16:20:38 brun Exp $
Copyright  (C) 1995-2000, Rene Brun and Fons Rademakers.               *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.