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
ConvexDecomposition::PTR_SPLIT
@ PTR_SPLIT
Definition: planetri.h:67
ConvexDecomposition
Definition: bestfit.cpp:75
ConvexDecomposition::PlaneTriResult
PlaneTriResult
Definition: planetri.h:63
ConvexDecomposition::PTR_FRONT
@ PTR_FRONT
Definition: planetri.h:65
ConvexDecomposition::PTR_BACK
@ PTR_BACK
Definition: planetri.h:66
ConvexDecomposition::planeTriIntersection
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 Wed Mar 2 2022 00:04:59