planetri.h
Go to the documentation of this file.
1 #ifndef PLANE_TRI_H
2 
3 #define PLANE_TRI_H
4 
59 namespace ConvexDecomposition
60 {
61 
62 
64 {
68 };
69 
70 PlaneTriResult planeTriIntersection(const double *plane, // the plane equation in Ax+By+Cz+D format
71  const double *triangle, // the source position triangle.
72  unsigned int tstride, // stride in bytes between vertices of the triangle.
73  double epsilon, // the co-planer epsilon value.
74  double *front, // the triangle in front of the
75  unsigned int &fcount, // number of vertices in the 'front' triangle.
76  double *back, // the triangle in back of the plane
77  unsigned int &bcount); // the number of vertices in the 'back' triangle.
78 
79 };
80 
81 
82 #endif
PlaneTriResult planeTriIntersection(const double *_plane, const double *triangle, unsigned int tstride, double epsilon, double *front, unsigned int &fcount, double *back, unsigned int &bcount)
Definition: planetri.cpp:244


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Mon Feb 28 2022 22:06:34