64 MathTube(
double HalfHeight = 0.005,
double Rout = 0.01,
double Rin = 0.,
int Sign = - 1);
80 MathTube(
double X,
double Y,
double Z,
double dX,
double dY,
double dZ,
double HalfHeight,
double Rout,
double Rin = 0.,
int Sign = - 1);
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Reference_ptr< Shape > Shape_ptr
Definition MCNPSource.hxx:42
Header file for Monte-Carlo Source abstract class.
Header file for MathCylinder class.
Header file for MathNode class.
Header file for Shape class and Shape_ptr type.
Infinite cylinder Shape.
Definition MathCylinder.hxx:47
MathNode allows to construct Union or Intersection of Shape.
Definition MathNode.hxx:50
Shape_ptr GetLeaf(int i) override
Definition MathNode.hxx:83
bool fTube
true if the Node is a Tube
Definition MathNode.hxx:229
A MathTube is a finite cylinder with an optional hole inside (like a pipe).
Definition MathTube.hxx:50
double fRin
inner radius of the Tube
Definition MathTube.hxx:156
void SetSidePlanesOpen() override
The side planes are NOT mirrors.
Definition MathTube.cxx:663
void Copy(Shape_ptr S) override
Copy all attributs of a Shape S (but not attributs of the father classes).
Definition MathTube.cxx:606
unsigned IsDisjoint(Shape_ptr OtherShape) override
+1 this is disjoint in OtherShape, 0 not included or don't know.
Definition MathTube.cxx:469
Shape_ptr Clone(int count=0) override
Clone a Shape.
Definition MathTube.cxx:559
double fRout
outer radius of the Tube
Definition MathTube.hxx:155
Shape_ptr GetOutCylinder()
Definition MathTube.hxx:96
void CalculNot() override
Allocates and calculs the complement of Shape.
Definition MathTube.cxx:202
unsigned IsTube() override
Definition MathTube.hxx:91
double fHalfHeight
Half height of the Tube.
Definition MathTube.hxx:157
Shape_ptr GetTopPlane()
Definition MathTube.hxx:104
double * GetVirtualSphereCenter() override
returns the center of a Sphere containing the Shape
Definition MathTube.cxx:650
double SetHalfHeight(double halfH)
void SetTopBottomPlanesOpen() override
The top/bottom planes are NOT mirrors.
Definition MathTube.cxx:655
double GetHalfHeight()
Definition MathTube.hxx:113
double GetVirtualSphereRadius() override
returns the radius of a Sphere containing the Shape
Definition MathTube.cxx:640
MathTube * CreateNewInstance(int sign=1) override
a new MathTube instance.
Definition MathTube.cxx:671
double GetInnerRadius()
Definition MathTube.hxx:117
Shape_ptr GetBottomPlane()
Definition MathTube.hxx:100
unsigned IsIncluded(Shape_ptr OtherShape) override
+1 this is included in OtherShape, 0 not included or don't know.
Definition MathTube.cxx:253
double GetOuterRadius()
Definition MathTube.hxx:121
Shape_ptr GetInCylinder()
Definition MathTube.hxx:108
bool IsSameAxis(MathTube *tube)
whether or not 2 tubes have same z-axis
Definition MathTube.cxx:500