TGeoUnion


class description - source file - inheritance tree

class TGeoUnion : public TGeoBoolNode


    public:
TGeoUnion TGeoUnion() TGeoUnion TGeoUnion(const char* expr1, const char* expr2) TGeoUnion TGeoUnion(const TGeoUnion&) virtual void ~TGeoUnion() static TClass* Class() virtual void ComputeBBox(Double_t& dx, Double_t& dy, Double_t& dz, Double_t* origin) virtual Bool_t Contains(Double_t* point) const virtual Int_t DistanceToPrimitive(Int_t px, Int_t py) 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 Int_t GetNpoints() const virtual TClass* IsA() const 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)

Data Members




Class Description


TGeoUnion()
 Default constructor

TGeoUnion(const char *expr1, const char *expr2) :TGeoBoolNode(expr1, expr2)
 Constructor

~TGeoUnion()
 Destructor
 --- deletion of components handled by TGeoManager class.

void ComputeBBox(Double_t &dx, Double_t &dy, Double_t &dz, Double_t *origin)
 Compute bounding box corresponding to a union of two shapes.

Bool_t Contains(Double_t *point) const
 Find if a union of two shapes contains a given point

Int_t DistanceToPrimitive(Int_t /*px*/, Int_t /*py*/)
 Compute minimum distance to shape vertices

Double_t DistToOut(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
 Compute distance from a given point to outside.
   printf("Point is : %g, %g, %gn", point[0], point[1], point[2]);

Double_t DistToIn(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
 Compute distance from a given point to inside.

Int_t GetNpoints() const
 Returns number of vertices for the composite shape described by this union.

void SetPoints(Double_t * /*buff*/) const
 Fill buffer with shape vertices.

void SetPoints(Float_t * /*buff*/) const
 Fill buffer with shape vertices.

void Sizeof3D() const
 Register 3D size of this shape.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          TGeoUnion TGeoUnion(const TGeoUnion&)


Author: Andrei Gheata 30/05/02
Last update: :$Name: $:$Id: TGeoBoolNode.cxx,v 1.3 2002/12/03 16:01:39 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.