38 virtual std::string
Name()
const = 0;
54 virtual std::ostream&
Put(std::ostream& out)
const = 0;
std::ostream & operator<<(std::ostream &out, const VGM::IArb8 &xtru)
The VGM interface to Arb8 solids.
virtual double ZHalfLength() const =0
Return the half-length along the z axis in mm.
virtual std::ostream & Put(std::ostream &out) const =0
Put the printing of the solid parameters in the out stream.
virtual int NofVertices() const =0
Return the number of vertices.
virtual SolidType Type() const =0
Return the type of this solid.
virtual TwoVector Vertex(int index) const =0
Return the index-th vertex.
virtual double TwistAngle(int index) const =0
Return the index-th twist angle.
virtual std::string Name() const =0
Return the name of this solid.
The VGM interface to solids.
std::pair< double, double > TwoVector