library: libGeom
#include "TGeoShapeAssembly.h"

TGeoShapeAssembly


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

class TGeoShapeAssembly : public TGeoBBox

Inheritance Chart:
TObject
<-
TNamed
<-
TGeoShape
<-
TGeoBBox
<-
TGeoShapeAssembly

    public:
TGeoShapeAssembly() TGeoShapeAssembly(TGeoVolumeAssembly* vol) TGeoShapeAssembly(const TGeoShapeAssembly&) virtual ~TGeoShapeAssembly() 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 TGeoShape* GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const virtual Int_t GetNmeshVertices() const virtual void InspectShape() const virtual TClass* IsA() const virtual Bool_t IsCylType() const TGeoShapeAssembly& operator=(const TGeoShapeAssembly&) virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void SetPoints(Double_t* points) const virtual void SetPoints(Float_t* points) const virtual void SetSegsAndPols(TBuffer3D& buff) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fCurrent ! node number for current node Int_t fNext ! node number for next crossed node TGeoVolumeAssembly* fVolume assembly volume

Class Description

_____________________________________________________________________________
 TGeoShapeAssembly - The shape encapsulating an assembly (union) of volumes.

_____________________________________________________________________________
TGeoShapeAssembly()
 Default constructor
TGeoShapeAssembly(TGeoVolumeAssembly *vol)
 Constructor specifying hyperboloid parameters.
~TGeoShapeAssembly()
 destructor
void ComputeBBox()
 Compute bounding box of the assembly
void ComputeNormal(Double_t *point, Double_t *dir, Double_t *norm)
 Compute normal to closest surface from POINT. Should not be called.
Bool_t Contains(Double_t *point)
 Test if point is inside the assembly
Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe)
 compute distance from outside point to surface of the hyperboloid.
   fVolume->SetNextNodeIndex(-1);
void InspectShape()
 print shape parameters
Double_t Safety(Double_t *point, Bool_t in)
 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(ostream & /*out*/, Option_t * /*option*/ /*= ""*/)
 Save a primitive as a C++ statement(s) on output stream "out".
TGeoShapeAssembly()
 constructors
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0)
Int_t GetNmeshVertices()
Bool_t IsCylType()
void SetPoints(Double_t *points)
void SetPoints(Float_t *points)
void SetSegsAndPols(TBuffer3D &buff)

Author: Andrei Gheata 02/06/05
Last update: root/geom:$Name: $:$Id: TGeoShapeAssembly.cxx,v 1.7 2006/07/03 16:10:44 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.