42 std::vector<G4TwoVector> polygon,
43 std::vector<ZSection> zsections)
47 std::vector<UVector2> pvec;
48 for (
unsigned int i=0; i<polygon.size(); ++i)
50 pvec.push_back(
UVector2(polygon[i].x(), polygon[i].y()));
52 std::vector<UExtrudedSolid::ZSection> svec;
53 for (
unsigned int i=0; i<zsections.size(); ++i)
64 std::vector<G4TwoVector> polygon,
71 std::vector<UVector2> pvec;
72 for (
unsigned int i=0; i<polygon.size(); ++i)
74 pvec.push_back(
UVector2(polygon[i].x(), polygon[i].y()));
77 UVector2(off2.x(), off2.y()), scale2);
117 if (
this == &source)
return *
this;
void Initialise(std::vector< UVector2 > &polygon, std::vector< ZSection > &zsections)
void SetName(const std::string &aName)
UExtrudedSolid * GetShape() const
G4UExtrudedSolid(const G4String &pName, std::vector< G4TwoVector > polygon, std::vector< ZSection > zsections)
G4UExtrudedSolid & operator=(const G4UExtrudedSolid &source)
G4USolid & operator=(const G4USolid &rhs)
CLHEP::Hep2Vector G4TwoVector