Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
vhacdRaycastMesh.cpp File Reference
#include <tesseract_collision/vhacd/inc/vhacdRaycastMesh.h>
#include <math.h>
#include <assert.h>
Include dependency graph for vhacdRaycastMesh.cpp:

Classes

class  tesseract_collision::RAYCAST_MESH::MyRaycastMesh
 

Namespaces

namespace  tesseract_collision
 
namespace  tesseract_collision::RAYCAST_MESH
 
namespace  tesseract_collision::VHACD
 

Macros

#define vector(a, b, c)
 
#define innerProduct(v, q)   ((v)[0] * (q)[0] + (v)[1] * (q)[1] + (v)[2] * (q)[2])
 
#define crossProduct(a, b, c)
 

Functions

static bool tesseract_collision::RAYCAST_MESH::rayIntersectsTriangle (const double *p, const double *d, const double *v0, const double *v1, const double *v2, double &t)
 
static double tesseract_collision::RAYCAST_MESH::getPointDistance (const double *p1, const double *p2)
 

Macro Definition Documentation

◆ crossProduct

#define crossProduct (   a,
  b,
  c 
)
Value:
(a)[0] = (b)[1] * (c)[2] - (c)[1] * (b)[2]; \
(a)[1] = (b)[2] * (c)[0] - (c)[2] * (b)[0]; \
(a)[2] = (b)[0] * (c)[1] - (c)[0] * (b)[1];

◆ innerProduct

#define innerProduct (   v,
  q 
)    ((v)[0] * (q)[0] + (v)[1] * (q)[1] + (v)[2] * (q)[2])

◆ vector

#define vector (   a,
  b,
  c 
)
Value:
(a)[0] = (b)[0] - (c)[0]; \
(a)[1] = (b)[1] - (c)[1]; \
(a)[2] = (b)[2] - (c)[2];