00001 // @(#)root/g3d:$Id: TELTU.cxx 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Rene Brun 26/06/97 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #include "TELTU.h" 00013 #include "TNode.h" 00014 00015 ClassImp(TELTU) 00016 00017 //______________________________________________________________________________ 00018 // Begin_Html <P ALIGN=CENTER> <IMG SRC="gif/ELTU.gif"> </P> End_Html 00019 // 'ELTU' is a cylinder with an elliptical section. It has three 00020 // parameters: the ellipse semi-axis in X, the ellipse 00021 // semi-axis in Y and the half length in Z. The equation of 00022 // the conical curve is: 00023 // X**2/fRx**2 + Y**2/fRy**2 = 1 00024 // ELTU is not divisible. 00025 // 00026 // - name name of the shape 00027 // - title shape's title 00028 // - material (see TMaterial) 00029 // - rx the ellipse semi-axis in X 00030 // - ry the ellipse semi-axis in Y 00031 // - dz half-length in z 00032 00033 00034 00035 //______________________________________________________________________________ 00036 TELTU::TELTU() 00037 { 00038 //*-*-*-*-*-*-*-*-*-*-*-*ELTU shape default constructor*-*-*-*-*-*-*-*-*-*-*-*-* 00039 //*-* ============================== 00040 00041 00042 } 00043 00044 //______________________________________________________________________________ 00045 TELTU::TELTU(const char *name, const char *title, const char *material, Float_t rx, Float_t ry, 00046 Float_t dz):TTUBE (name,title,material,0,rx,dz,rx?ry/rx:1.0) 00047 {} 00048 00049 //______________________________________________________________________________ 00050 TELTU::~TELTU() 00051 { 00052 //*-*-*-*-*-*-*-*-*-*-*-*-*ELTU shape default destructor*-*-*-*-*-*-*-*-*-*-*-*-* 00053 //*-* ============================= 00054 00055 } 00056