52 constructorParams.origin = origin;
53 constructorParams.axis = axis;
54 constructorParams.direction = direction;
55 constructorParams.length = length;
56 constructorParams.radius = radius;
73 constructorParams.origin = rhs.constructorParams.origin;
74 constructorParams.axis = rhs.constructorParams.axis;
75 constructorParams.direction = rhs.constructorParams.direction;
76 constructorParams.length = rhs.constructorParams.length;
77 constructorParams.radius = rhs.constructorParams.radius;
87 if (
this == &rhs) {
return *
this; }
95 constructorParams.origin = rhs.constructorParams.origin;
96 constructorParams.axis = rhs.constructorParams.axis;
97 constructorParams.direction = rhs.constructorParams.direction;
98 constructorParams.length = rhs.constructorParams.length;
99 constructorParams.radius = rhs.constructorParams.radius;
101 InitializeCylinder();
106void G4BREPSolidCylinder::InitializeCylinder()
114 constructorParams.axis,
115 constructorParams.radius,
116 constructorParams.length);
122 + ( constructorParams.radius
123 * constructorParams.direction ) );
128 constructorParams.origin),
129 constructorParams.radius );
134 constructorParams.origin);
141 + ( constructorParams.length
142 * constructorParams.axis ) );
145 * constructorParams.direction );
151 constructorParams.radius);
172 <<
"\n origin: " << constructorParams.origin
173 <<
"\n axis: " << constructorParams.axis
174 <<
"\n direction: " << constructorParams.direction
175 <<
"\n length: " << constructorParams.length
176 <<
"\n radius: " << constructorParams.radius
177 <<
"\n-----------------------------------------------------------\n";
std::vector< G4Curve * > G4CurveVector
HepGeom::Point3D< G4double > G4Point3D
HepGeom::Vector3D< G4double > G4Vector3D
G4BREPSolidCylinder(const G4String &name, const G4ThreeVector &origin, const G4ThreeVector &axis, const G4ThreeVector &direction, G4double radius, G4double length)
G4BREPSolidCylinder & operator=(const G4BREPSolidCylinder &rhs)
std::ostream & StreamInfo(std::ostream &os) const
G4BREPSolid & operator=(const G4BREPSolid &rhs)
virtual std::ostream & StreamInfo(std::ostream &os) const
virtual void Initialize()
void Init(const G4Axis2Placement3D &position0, G4double radius0)
void SetBounds(G4double p1, G4double p2)
void SetBoundaries(G4CurveVector *)