TGeoCompositeShape
class description - source file - inheritance tree
public:
TGeoCompositeShape TGeoCompositeShape()
TGeoCompositeShape TGeoCompositeShape(const TGeoCompositeShape&)
virtual void ~TGeoCompositeShape()
void AddShape(TGeoShape* shape, TGeoMatrix* mat)
static TClass* Class()
virtual void ComputeBBox()
virtual Bool_t Contains(Double_t* point) const
virtual Double_t DistToIn(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const
virtual Double_t DistToOut(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const
virtual Double_t DistToSurf(Double_t* point, Double_t* dir) const
virtual TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Double_t step)
virtual TGeoShape* GetMakeRuntimeShape(TGeoShape* mother) const
virtual void InspectShape() const
virtual TClass* IsA() const
virtual void NextCrossing(TGeoParamCurve* c, Double_t* point) const
virtual void Paint(Option_t* option)
virtual Double_t Safety(Double_t* point, Double_t* spoint, Option_t* option) const
void SetCombination(TGeoBoolCombinator* comb)
virtual void SetDimensions(Double_t* param)
virtual void SetPoints(Double_t* buff) const
virtual void SetPoints(Float_t* buff) const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Sizeof3D() const
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t fNcomponents number of components
TList* fShapes list of TGeoShape
TList* fMatrices list of matrices
TGeoBoolCombinator* fCombinator boolean evaluator
TGeoCompositeShape()
:TGeoBBox(0, 0, 0)
Default constructor
~TGeoCompositeShape()
destructor
void AddShape(TGeoShape *shape, TGeoMatrix *mat)
add a shape and its transformation matrix to the combination
void SetCombination(TGeoBoolCombinator *comb)
set the boolean combination
void ComputeBBox()
compute bounding box of the sphere
Bool_t Contains(Double_t *point) const
test if point is inside this sphere
Double_t DistToSurf(Double_t *point, Double_t *dir) const
computes the distance to next surface of the sphere along a ray
starting from given point to the given direction.
TGeoVolume* Divide(TGeoVolume *voldiv, const char *divname, Int_t iaxis, Double_t step)
Divide all range of iaxis in range/step cells
void InspectShape() const
print shape parameters
void Paint(Option_t *option)
paint this shape according to option
void NextCrossing(TGeoParamCurve *c, Double_t *point) const
computes next intersection point of curve c with this shape
Double_t Safety(Double_t *point, Double_t *spoint, Option_t *option) 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 SetPoints(Double_t *buff) const
create points for a composite shape
void SetPoints(Float_t *buff) const
create points for a composite shape
Inline Functions
Double_t DistToOut(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const
Double_t DistToIn(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const
TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Double_t step)
TGeoShape* GetMakeRuntimeShape(TGeoShape* mother) const
void SetDimensions(Double_t* param)
void Sizeof3D() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGeoCompositeShape TGeoCompositeShape(const TGeoCompositeShape&)
Author: Andrei Gheata 31/01/02
Last update: root/geom:$Name: $:$Id: TGeoCompositeShape.cxx,v 1.4 2002/07/15 15:32:25 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - 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.