Geant4  10.01.p02
UTessellatedGeometryAlgorithms Class Reference

#include <UTessellatedGeometryAlgorithms.hh>

Static Public Member Functions

static bool IntersectLineAndTriangle2D (const UVector2 &p, const UVector2 &v, const UVector2 &p0, const UVector2 &e0, const UVector2 &e1, UVector2 location[2])
 
static int IntersectLineAndLineSegment2D (const UVector2 &p0, const UVector2 &d0, const UVector2 &p1, const UVector2 &d1, UVector2 location[2])
 
static double Cross (const UVector2 &v1, const UVector2 &v2)
 

Detailed Description

Definition at line 53 of file UTessellatedGeometryAlgorithms.hh.

Member Function Documentation

double UTessellatedGeometryAlgorithms::Cross ( const UVector2 v1,
const UVector2 v2 
)
static

Definition at line 224 of file UTessellatedGeometryAlgorithms.cc.

References UVector2::x, and UVector2::y.

Referenced by IntersectLineAndLineSegment2D().

+ Here is the caller graph for this function:

int UTessellatedGeometryAlgorithms::IntersectLineAndLineSegment2D ( const UVector2 p0,
const UVector2 d0,
const UVector2 p1,
const UVector2 d1,
UVector2  location[2] 
)
static

Definition at line 146 of file UTessellatedGeometryAlgorithms.cc.

References Cross(), DBL_EPSILON, UVector2::dot(), UVector2::mag2(), p0, G4InuclParticleNames::s0, and smax.

Referenced by IntersectLineAndTriangle2D().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool UTessellatedGeometryAlgorithms::IntersectLineAndTriangle2D ( const UVector2 p,
const UVector2 v,
const UVector2 p0,
const UVector2 e0,
const UVector2 e1,
UVector2  location[2] 
)
static

Definition at line 38 of file UTessellatedGeometryAlgorithms.cc.

References IntersectLineAndLineSegment2D(), and p1.

Referenced by UTriangularFacet::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: