library: libGeomPainter #include "TGeoOverlap.h"

# TGeoOverlap

class description - source file - inheritance tree (.pdf)

## class TGeoOverlap : public TNamed, public TAttLine, public TAttFill, public TAtt3D

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`TAttLine`
`TAttFill`
`TAtt3D`
| <- | `TGeoOverlap` |
<- |
`TGeoExtrusion` |
`TGeoNodeOverlap` |

This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.

        public:

                    virtual ~TGeoOverlap()
               virtual void Browse(TBrowser* b)
             static TClass* Class()
              virtual Int_t Compare(const TObject* obj) const
              virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
               virtual void Draw(Option_t* option = "")
               virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
          virtual TGeoNode* GetNode(Int_t iovlp) const
                   Double_t GetOverlap() const
             TPolyMarker3D* GetPolyMarker() const
                TGeoVolume* GetVolume() const
            virtual TClass* IsA() const
             virtual Bool_t IsExtrusion() const
             virtual Bool_t IsFolder() const
             virtual Bool_t IsSortable() const
               TGeoOverlap& operator=(const TGeoOverlap&)
               virtual void Paint(Option_t* option = "")
               virtual void PrintInfo() const
                       void SetNextPoint(Double_t x, Double_t y, Double_t z)
                       void SetOverlap(Double_t ovlp)
                       void SetVolume(TGeoVolume* vol)
               virtual void ShowMembers(TMemberInspector& insp, char* parent)
               virtual void Sizeof3D() const
               virtual void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                Double_t fOverlap  overlap distance
             TGeoVolume* fVolume   volume containing the overlap
          TPolyMarker3D* fMarker   points in the overlapping region

## Class Description

~TGeoOverlap()

void Browse(TBrowser *b)

     Define double-click action

Int_t Compare(const TObject *obj) const

     Method to compare this overlap with another. Returns :
       -1 - this is smaller than OBJ
        0 - equal
        1 - greater

Int_t DistancetoPrimitive(Int_t px, Int_t py)

void ExecuteEvent(Int_t event, Int_t px, Int_t py)

void Paint(Option_t *option)

void SetNextPoint(Double_t x, Double_t y, Double_t z)

     Set next overlapping point.

### Inline Functions

                      void Draw(Option_t* option = "")
            TPolyMarker3D* GetPolyMarker() const
                 TGeoNode* GetNode(Int_t iovlp) const
                  Double_t GetOverlap() const
               TGeoVolume* GetVolume() const
                    Bool_t IsExtrusion() const
                    Bool_t IsFolder() const
                    Bool_t IsSortable() const
                      void PrintInfo() const
                      void Sizeof3D() const
                      void SetVolume(TGeoVolume* vol)
                      void SetOverlap(Double_t ovlp)
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
              TGeoOverlap& operator=(const TGeoOverlap&)

Author: Andrei Gheata 09-02-03
Last update: root/geom:$Name: $:$Id: TGeoOverlap.cxx,v 1.7 2005/04/25 07:53:27 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *