42 bbox(0), next(0), Intersected(0), Type(0), AdvancedFace(0),
43 active(1), distance(kInfinity), uhit(0.), vhit(0.), sameSense(0)
57 bbox(c.bbox), next(c.next), Intersected(c.Intersected), Type(c.Type),
58 AdvancedFace(c.AdvancedFace), active(c.active), distance(c.distance),
59 uhit(c.uhit), vhit(c.vhit), sameSense(c.sameSense)
69 if (&c ==
this) {
return *
this; }
174 G4Exception(
"G4Surface::Intersect()",
"GeomSolids0001",
177#ifdef NEW_IMPLEMENTATION
213 G4int entr = bounds.size();
215 for (
G4int i=0; i<entr; i++)
223 for (
size_t j=0; j<segments.size(); j++)
227 if (pointDistance > tmpDistance)
229 pointDistance= tmpDistance;
237 if (pointDistance > tmpDistance)
239 pointDistance= tmpDistance;
246 return std::sqrt(pointDistance);
329 Coord = Pt2.
x()*Pl1.
a + Pt2.
y()*Pl1.
b + Pt2.
z()*Pl1.
c - Pl1.
d;
std::vector< G4Curve * > G4CurveVector
HepGeom::Point3D< G4double > G4Point3D
std::ostream & operator<<(std::ostream &os, const G4Surface &)
HepGeom::Vector3D< G4double > G4Vector3D
G4Point3D GetBoxMin() const
G4Point3D GetBoxMax() const
const G4CurveVector & GetSegments() const
virtual G4String GetEntityType() const
const G4Point3D & GetEnd() const
G4double GetSurfaceTolerance() const
static G4GeometryTolerance * GetInstance()
G4double GetAngularTolerance() const
void Init(const G4CurveVector &bounds0)
const G4CurveVector & GetBounds() const
const G4BoundingBox3D & BBox() const
virtual G4int Intersect(const G4Ray &)
G4int operator==(const G4Surface &s)
virtual G4double GetUHit() const
virtual G4double ClosestDistanceToPoint(const G4Point3D &Pt)
virtual G4double GetVHit() const
virtual G4Vector3D Normal(const G4Vector3D &p) const
virtual const G4Point3D & GetPoint(G4int Count) const
virtual G4Point3D Evaluation(const G4Ray &G4Rayref)
void SetBoundaries(G4CurveVector *)
virtual const char * Name() const
virtual void CalcNormal()
virtual G4int GetNumberOfPoints() const
virtual G4int MyType() const
virtual G4int Evaluate(register const G4Ray &Rayref)
G4SurfaceBoundary surfaceBoundary
virtual G4double HowNear(const G4Vector3D &x) const
virtual void InitBounded()
virtual G4String GetEntityType() const
virtual G4int GetConvex() const
virtual G4int IsConvex() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)