Geant4  10.00.p01
G4TessellatedGeometryAlgorithms Class Reference

#include <G4TessellatedGeometryAlgorithms.hh>

Static Public Member Functions

static G4bool IntersectLineAndTriangle2D (const G4TwoVector &p, const G4TwoVector &v, const G4TwoVector &p0, const G4TwoVector &e0, const G4TwoVector &e1, G4TwoVector location[2])
 
static G4int IntersectLineAndLineSegment2D (const G4TwoVector &p0, const G4TwoVector &d0, const G4TwoVector &p1, const G4TwoVector &d1, G4TwoVector location[2])
 
static G4double cross (const G4TwoVector &v1, const G4TwoVector &v2)
 

Detailed Description

Definition at line 77 of file G4TessellatedGeometryAlgorithms.hh.

Member Function Documentation

G4double G4TessellatedGeometryAlgorithms::cross ( const G4TwoVector v1,
const G4TwoVector v2 
)
static

Definition at line 250 of file G4TessellatedGeometryAlgorithms.cc.

Referenced by IntersectLineAndLineSegment2D().

+ Here is the caller graph for this function:

G4int G4TessellatedGeometryAlgorithms::IntersectLineAndLineSegment2D ( const G4TwoVector p0,
const G4TwoVector d0,
const G4TwoVector p1,
const G4TwoVector d1,
G4TwoVector  location[2] 
)
static

Definition at line 176 of file G4TessellatedGeometryAlgorithms.cc.

References cross(), DBL_EPSILON, G4InuclParticleNames::s0, and smax.

Referenced by IntersectLineAndTriangle2D().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4TessellatedGeometryAlgorithms::IntersectLineAndTriangle2D ( const G4TwoVector p,
const G4TwoVector v,
const G4TwoVector p0,
const G4TwoVector e0,
const G4TwoVector e1,
G4TwoVector  location[2] 
)
static

Definition at line 68 of file G4TessellatedGeometryAlgorithms.cc.

References IntersectLineAndLineSegment2D().

Referenced by G4TriangularFacet::Intersect().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: