20#ifndef ROOT_GM_EXTRUDED_SOLID_H
21#define ROOT_GM_EXTRUDED_SOLID_H
35 ExtrudedSolid(
const std::string& name, std::vector<VGM::TwoVector> polygon,
36 std::vector<std::vector<double> > zsections);
41 virtual std::string
Name()
const;
47 virtual double Scale(
int iz)
const;
VGM implementation for Root extruded solid.
virtual std::string Name() const
Return the name of this solid.
virtual int NofZSections() const
Return the number of planes perpendicular to the z axis.
virtual VGM::TwoVector Offset(int iz) const
Return the polygon offset in iz-th side.
virtual double ZPosition(int iz) const
Return the z position of the iz-th plane in mm.
int NofVertices() const
Return the number of vertices of outline polygon.
VGM::TwoVector Vertex(int index) const
Return the index-th vertex of outline polygon.
virtual double Scale(int iz) const
Return the polygon scale in iz-th side.
VGM implementation for Root.
std::pair< double, double > TwoVector