37 virtual std::string
Name()
const = 0;
57 virtual std::ostream&
Put(std::ostream& out)
const = 0;
std::ostream & operator<<(std::ostream &out, const VGM::ITorus &torus)
The VGM interface to solids.
The VGM interface to torus solids.
virtual double OuterRadius() const =0
Return the outside radius of the torus in mm.
virtual double StartPhi() const =0
Return the starting phi angle of the segment in deg (with 0 being the +x axis)
virtual double AxialRadius() const =0
Return the axial (swept) radius of the torus in mm.
virtual double DeltaPhi() const =0
Return the opening phi angle of the segment in deg.
virtual SolidType Type() const =0
Return the type of this solid.
virtual double InnerRadius() const =0
Return the inside radius of the torus in mm.
virtual std::ostream & Put(std::ostream &out) const =0
Put the printing of the solid parameters in the out stream.
virtual std::string Name() const =0
Return the name of this solid.