raytri.h
Go to the documentation of this file.
1 #ifndef RAY_TRI_H
2 
3 #define RAY_TRI_H
4 
60 namespace ConvexDecomposition
61 {
62 
63 // returns true if the ray intersects the triangle.
64 bool lineIntersectsTriangle(const double *rayStart,const double *rayEnd,const double *p1,const double *p2,const double *p3,double *sect);
65 bool rayIntersectsTriangle(const double *p,const double *d,const double *v0,const double *v1,const double *v2,double &t);
66 
67 };
68 
69 #endif
ConvexDecomposition
Definition: bestfit.cpp:75
ConvexDecomposition::lineIntersectsTriangle
bool lineIntersectsTriangle(const double *rayStart, const double *rayEnd, const double *p1, const double *p2, const double *p3, double *sect)
Definition: raytri.cpp:123
ConvexDecomposition::rayIntersectsTriangle
bool rayIntersectsTriangle(const double *p, const double *d, const double *v0, const double *v1, const double *v2, double &t)
Definition: raytri.cpp:87


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Wed Mar 2 2022 00:04:59