19#ifndef _MCNPHEXAGON_HXX_
20#define _MCNPHEXAGON_HXX_
63 Hexagon(
double HalfHeight = 0.005,
double Side = 0.01,
int Sign = - 1);
76 Hexagon(
const char *Infinite,
double Side = 0.01,
int Sign = - 1);
79 string Print()
override;
83 Hexagon(
double HalfHeight,
double Side,
int Sign,
bool Infinite);
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MCNP::Node class.
Header file for MathHexagon class.
Regular hexagon Shape of a given height.
Definition MCNPHexagon.hxx:49
string Print() override
Print the Hexagon surface in MCNP cell.
Definition MCNPHexagon.cxx:114
Hexagon * CreateNewInstance(int sign=1) override
a new Hexagon instance.(if sign=-1, create the complemantary).
Definition MCNPHexagon.cxx:179
void ReplaceMathShape()
Replace MathShape leaf by MCNP Shape.
Definition MCNPHexagon.cxx:62
Node allows to construct Union or Intersection of Shape.
Definition MCNPNode.hxx:51
Regular hexagon Shape of a given height.
Definition MathHexagon.hxx:49
This MCNP (concrete) class is used to built a reactor assembly.
Definition MCNPBrick.hxx:41
the namespace of the Standard C++