|
Blender V4.3
|
#include <string.h>#include "btConvexHull.h"#include "btAlignedObjectArray.h"#include "btMinMax.h"#include "btVector3.h"Go to the source code of this file.
Classes | |
| class | int3 |
| class | VertFlag |
| class | EdgeFlag |
| class | PlaneFlag |
| class | Coplanar |
| class | btHullTriangle |
Macros | |
| #define | COPLANAR (0) |
| #define | UNDER (1) |
| #define | OVER (2) |
| #define | SPLIT (OVER | UNDER) |
| #define | PAPERWIDTH (btScalar(0.001)) |
| #define | EPSILON btScalar(0.000001) /* close enough to consider two btScalaring point numbers to be 'the same'. */ |
Typedefs | |
| typedef ConvexH::HalfEdge | HalfEdge |
Variables | |
| btScalar | planetestepsilon = PAPERWIDTH |
| #define COPLANAR (0) |
Definition at line 136 of file btConvexHull.cpp.
Referenced by PlaneTest().
| #define EPSILON btScalar(0.000001) /* close enough to consider two btScalaring point numbers to be 'the same'. */ |
| #define OVER (2) |
Definition at line 138 of file btConvexHull.cpp.
Referenced by PlaneTest().
Definition at line 140 of file btConvexHull.cpp.
Definition at line 139 of file btConvexHull.cpp.
| #define UNDER (1) |
Definition at line 137 of file btConvexHull.cpp.
Referenced by PlaneTest().
| typedef ConvexH::HalfEdge HalfEdge |
Definition at line 144 of file btConvexHull.cpp.
Definition at line 289 of file btConvexHull.cpp.
References btDot(), and TriNormal().
|
static |
Definition at line 802 of file btConvexHull.cpp.
Definition at line 44 of file btConvexHull.cpp.
References b, and PlaneFlip().
| btScalar DistanceBetweenLines | ( | const btVector3 & | ustart, |
| const btVector3 & | udir, | ||
| const btVector3 & | vstart, | ||
| const btVector3 & | vdir, | ||
| btVector3 * | upoint = NULL, | ||
| btVector3 * | vpoint = NULL ) |
Definition at line 111 of file btConvexHull.cpp.
References btCross(), btDot(), fabs(), btPlane::normal, and PlaneLineIntersection().
Definition at line 813 of file btConvexHull.cpp.
Definition at line 305 of file btConvexHull.cpp.
References v.
| int maxdirfiltered | ( | const T * | p, |
| int | count, | ||
| const T & | dir, | ||
| btAlignedObjectArray< int > & | allow ) |
Definition at line 203 of file btConvexHull.cpp.
References btAssert, btDot(), and count.
Referenced by maxdirsterid().
| int maxdirsterid | ( | const T * | p, |
| int | count, | ||
| const T & | dir, | ||
| btAlignedObjectArray< int > & | allow ) |
Definition at line 233 of file btConvexHull.cpp.
References btAssert, btCos(), btCross(), btSin(), count, maxdirfiltered(), orth(), SIMD_RADS_PER_DEG, v, and x.
Definition at line 43 of file btConvexHull.cpp.
References b.
Definition at line 279 of file btConvexHull.cpp.
References b.
Definition at line 218 of file btConvexHull.cpp.
References b, btCross(), btVector3, and v.
Referenced by maxdirsterid(), and stretchto_evaluate().
Definition at line 42 of file btConvexHull.cpp.
Referenced by coplanar().
| btVector3 PlaneLineIntersection | ( | const btPlane & | plane, |
| const btVector3 & | p0, | ||
| const btVector3 & | p1 ) |
Definition at line 86 of file btConvexHull.cpp.
References btDot().
Referenced by DistanceBetweenLines().
Definition at line 96 of file btConvexHull.cpp.
References btDot().
Definition at line 154 of file btConvexHull.cpp.
References btDot(), COPLANAR, btPlane::dist, flag, btPlane::normal, OVER, planetestepsilon, UNDER, and v.
Referenced by SplitTest().
| void ReleaseHull | ( | PHullResult & | result | ) |
Definition at line 646 of file btConvexHull.cpp.
Referenced by HullLibrary::CreateConvexHull().
Definition at line 310 of file btConvexHull.cpp.
Definition at line 162 of file btConvexHull.cpp.
References flag, PlaneTest(), btAlignedObjectArray< T >::size(), and ConvexH::vertices.
Definition at line 52 of file btConvexHull.cpp.
References btAssert, btFabs(), btPlane::dist, btPlane::normal, and result.
| btScalar planetestepsilon = PAPERWIDTH |
Definition at line 142 of file btConvexHull.cpp.
Referenced by PlaneTest().