library: libGeom
#include "TGeoEltu.h"

TGeoEltu


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

class TGeoEltu : public TGeoTube

Inheritance Chart:
TObject
<-
TNamed
<-
TGeoShape
<-
TGeoBBox
<-
TGeoTube
<-
TGeoEltu

    public:
TGeoEltu() TGeoEltu(Double_t a, Double_t b, Double_t dz) TGeoEltu(const char* name, Double_t a, Double_t b, Double_t dz) TGeoEltu(Double_t* params) TGeoEltu(const TGeoEltu&) virtual ~TGeoEltu() virtual Double_t Capacity() const 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 Double_t GetA() const virtual Double_t GetB() const virtual void GetBoundingCylinder(Double_t* param) const virtual const TBuffer3D& GetBuffer3D(Int_t reqSections, Bool_t localFrame) const 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 TGeoEltu& operator=(const TGeoEltu&) virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void SetDimensions(Double_t* param) void SetEltuDimensions(Double_t a, Double_t b, Double_t dz) virtual void SetPoints(Double_t* points) const virtual void SetPoints(Float_t* points) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

_____________________________________________________________________________
 TGeoEltu - elliptical tube class. It takes 3 parameters :
 semi-axis of the ellipse along x, semi-asix of the ellipse along y
 and half-length dz.

_____________________________________________________________________________
TGeoEltu()
 Dummy constructor
TGeoEltu(Double_t a, Double_t b, Double_t dz)
 Default constructor specifying X and Y semiaxis length
TGeoEltu(const char *name, Double_t a, Double_t b, Double_t dz)
 Default constructor specifying X and Y semiaxis length
TGeoEltu(Double_t *param)
 Default constructor specifying minimum and maximum radius
 param[0] =  A
 param[1] =  B
 param[2] = dz
~TGeoEltu()
 destructor
Double_t Capacity()
 Computes capacity of the shape in [length^3]
void ComputeBBox()
 compute bounding box of the tube
void ComputeNormal(Double_t *point, Double_t *dir, Double_t *norm)
 Compute normal to closest surface from POINT.
Bool_t Contains(Double_t *point)
 test if point is inside the elliptical tube
Int_t DistancetoPrimitive(Int_t px, Int_t py)
 compute closest distance from point px,py to each vertex
Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe)
 compute distance from inside point to surface of the tube
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 tube and safe distance
void GetBoundingCylinder(Double_t *param)
--- Fill vector param[4] with the bounding cylinder parameters. The order
 is the following : Rmin, Rmax, Phi1, Phi2
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".
void SetEltuDimensions(Double_t a, Double_t b, Double_t dz)
 Set dimensions of the eliptical tube.
void SetDimensions(Double_t *param)
 Set shape dimensions starting from an array.
void SetPoints(Double_t *points)
 Create eliptical tube mesh points
Int_t GetNmeshVertices()
 Returns the number of vertices on the mesh.
void SetPoints(Float_t *points)
 Create eliptical tube mesh points
const TBuffer3D & GetBuffer3D(Int_t reqSections, Bool_t localFrame)
 Fills a static 3D buffer and returns a reference.
TGeoEltu()
 constructors
Double_t GetA()
Double_t GetB()
Bool_t IsCylType()

Author: Mihaela Gheata 05/06/02
Last update: root/geom:$Name: $:$Id: TGeoEltu.cxx,v 1.30 2006/07/07 15:01: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.