All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Static Public Member Functions | List of all members
Eegeo::Geometry::IntersectionTests Class Reference

Static Public Member Functions

static bool TestSphereSphere (Eegeo::dv3 ca, double ra, Eegeo::dv3 cb, double rb)
 
static bool IntersectSegmentTriangle (Eegeo::dv3 p, Eegeo::dv3 q, Eegeo::dv3 a, Eegeo::dv3 b, Eegeo::dv3 c, double &u, double &v, double &w, double &t)
 
static bool TestRaySphere (Eegeo::dv3 p, Eegeo::dv3 d, Eegeo::dv3 sc, double sr)
 
static bool GetRayEarthSphereIntersection (const Eegeo::dv3 &rayStart, const Eegeo::dv3 &rayDir, Eegeo::dv3 &out_closestIntersectionPoint)
 
static bool GetRayEarthSphereIntersection (const Eegeo::dv3 &rayStart, const Eegeo::dv3 &rayDir, Eegeo::dv3 &out_closestIntersectionPoint, double squaredRadious)
 
static bool SphereIntersectsWithRay (const SingleSphere &sphere, const Eegeo::v3 &rayStartPoint, const Eegeo::v3 &rayDirection)
 
static bool SphereIntersectsWithRay (const SingleSphere &sphere, const Eegeo::v3 &rayStartPoint, const Eegeo::v3 &rayDirection, float &t)
 
static bool SphereIntersectsWithRay (const Sphere &sphere, const Eegeo::dv3 &rayStartPoint, const Eegeo::dv3 &rayDirection, double &t)
 
static bool SphereIntersectsWithSphere (const SingleSphere &a, const SingleSphere &b)
 
static bool SphereIntersectsWithPlane (const Sphere &sphere, const DoublePlane &plane)
 
static bool TriangleIntersectsWithRay (const Eegeo::v3 &rayOrigin, const Eegeo::v3 &rayDirection, const Eegeo::v3 &a, const Eegeo::v3 &b, const Eegeo::v3 &c, double &t)
 
static bool IntersectFrustumSphere (const Geometry::Frustum &frustum, const v3 &frustumRelativeSphereCenter, const float sphereRadius, uint &inactivePlaneFlags)
 
static bool RayIntersectsWithPlane (const Eegeo::dv3 &rayOrigin, const Eegeo::dv3 &rayDir, const Eegeo::dv3 &planeNormal, const Eegeo::dv3 &planePoint, double &out_t, Eegeo::dv3 &out_intersectPoint)
 

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