Geant4
10.01.p02
|
#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) |
Definition at line 53 of file UTessellatedGeometryAlgorithms.hh.
Definition at line 224 of file UTessellatedGeometryAlgorithms.cc.
References UVector2::x, and UVector2::y.
Referenced by IntersectLineAndLineSegment2D().
|
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().
|
static |
Definition at line 38 of file UTessellatedGeometryAlgorithms.cc.
References IntersectLineAndLineSegment2D(), and p1.
Referenced by UTriangularFacet::Intersect().