42 : semiAxis(0.), semiImagAxis(0.), ratioAxisImagAxis(0.), forTangent(0.)
51 :
G4Conic(), Focus1(right.Focus1), Focus2(right.Focus2),
52 ProjFocus1(right.ProjFocus1), ProjFocus2(right.ProjFocus2),
53 semiAxis(right.semiAxis), semiImagAxis(right.semiImagAxis),
54 ratioAxisImagAxis(right.ratioAxisImagAxis),
55 toUnitHyperbola(right.toUnitHyperbola), forTangent(right.forTangent)
71 if (&right ==
this)
return *
this;
73 Focus1 = right.Focus1;
74 Focus2 = right.Focus2;
75 ProjFocus1 = right.ProjFocus1;
76 ProjFocus2 = right.ProjFocus2;
77 semiAxis = right.semiAxis;
78 semiImagAxis = right.semiImagAxis;
79 ratioAxisImagAxis = right.ratioAxisImagAxis;
80 toUnitHyperbola = right.toUnitHyperbola;
81 forTangent = right.forTangent;
98 G4Exception(
"G4Hyperbola::Project()",
"GeomSolids0001",
125 G4double u= (0.5*std::log((1+xval)/(1-xval)))/2;
140 newPosition.
Init(newRefDirection, newAxis, newLocation);
143 r->
Init(newPosition, newSemiAxis, newSemiImagAxis);
165 for (
G4int i=0; i<3; i++)
174 if (std::abs(tanhu)<=1)
176 G4double u= 0.5*std::log((1+tanhu)/(1-tanhu));
HepGeom::Vector3D< G4double > G4Vector3D
const G4Transform3D & GetToPlacementCoordinates() const
void Init(const G4Vector3D &refDirection0, const G4Vector3D &axis0, const G4Point3D &location0)
void Init(const G4Point3D &)
void Extend(const G4Point3D &)
G4Axis2Placement3D position
const G4Axis2Placement3D * GetPosition() const
void SetPShift(G4double pShift0)
const G4Point3D & GetPoint()
void SetBounds(G4double p1, G4double p2)
G4bool IsPOn(G4double param) const
G4double GetPStart() const
const G4Point3D & GetStart() const
const G4Point3D & GetEnd() const
static G4GeometryTolerance * GetInstance()
G4double GetAngularTolerance() const
G4Curve * Project(const G4Transform3D &tr=G4Transform3D::Identity)
G4bool Tangent(G4CurvePoint &cp, G4Vector3D &v)
void Init(const G4Axis2Placement3D &position0, G4double semiAxis0, G4double semiImagAxis0)
G4Hyperbola & operator=(const G4Hyperbola &right)
G4Point3D GetPoint(G4double param) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)