#include <BV_OBBTree.h>
Public Member Functions | |
| BV_CHDataManager (const TPointArray &points_in) | |
| Constructs the manager, welds input points. | |
| const BV_CHEdgeInfo * | findEdge (int curr_v1_idx, int curr_v2_idx) const |
| Find an edge between two vertices. | |
| const BV_CHEdgeInfo * | edgeTraversalBegin (void) |
| Traverse edges. | |
| const BV_CHEdgeInfo * | edgeTraversalNext (void) |
| void | edgeSanityCheck (void) |
| Checks for valid edge counts. Debug. | |
| void | setAboutToReset (void) |
| void | reset (void) |
| Resets the manager for the next iteration. | |
| void | weldPoints (const TPointArray &points_in, TPointArray &merged_pts_out) |
| TPointArray & | getPoints (void) |
| bool | getDoRestart (void) const |
| void | onTriangleDeleted (BV_CHTriangle *triangle_in) |
| Called every time a triangle is created. | |
| void | onTriangleCreated (BV_CHTriangle *triangle_in) |
| Called every time a triangle is deleted or is marked as deleted. | |
| fpreal | jigglePointTetra (BV_CHTriangle *coplanar_triangle, int iPointIndex) |
| Jiggles a point to lie more than FLT_EPSILON away from the triangle. | |
Definition at line 93 of file BV_OBBTree.h.
| BV_CHDataManager::BV_CHDataManager | ( | const TPointArray & | points_in | ) |
Constructs the manager, welds input points.
| void BV_CHDataManager::edgeSanityCheck | ( | void | ) |
Checks for valid edge counts. Debug.
| const BV_CHEdgeInfo* BV_CHDataManager::edgeTraversalBegin | ( | void | ) |
Traverse edges.
| const BV_CHEdgeInfo* BV_CHDataManager::edgeTraversalNext | ( | void | ) |
| const BV_CHEdgeInfo* BV_CHDataManager::findEdge | ( | int | curr_v1_idx, | |
| int | curr_v2_idx | |||
| ) | const |
Find an edge between two vertices.
| bool BV_CHDataManager::getDoRestart | ( | void | ) | const [inline] |
Definition at line 123 of file BV_OBBTree.h.
| TPointArray& BV_CHDataManager::getPoints | ( | void | ) | [inline] |
Definition at line 121 of file BV_OBBTree.h.
| fpreal BV_CHDataManager::jigglePointTetra | ( | BV_CHTriangle * | coplanar_triangle, | |
| int | iPointIndex | |||
| ) |
Jiggles a point to lie more than FLT_EPSILON away from the triangle.
| void BV_CHDataManager::onTriangleCreated | ( | BV_CHTriangle * | triangle_in | ) |
Called every time a triangle is deleted or is marked as deleted.
| void BV_CHDataManager::onTriangleDeleted | ( | BV_CHTriangle * | triangle_in | ) |
Called every time a triangle is created.
| void BV_CHDataManager::reset | ( | void | ) |
Resets the manager for the next iteration.
| void BV_CHDataManager::setAboutToReset | ( | void | ) |
Sets a flag telling the manager we will do a reset next, so that no triangle-edge management code is called to save time.
| void BV_CHDataManager::weldPoints | ( | const TPointArray & | points_in, | |
| TPointArray & | merged_pts_out | |||
| ) |
Welds points from the points_in array and puts the new set of points into the merged_pts_out array. Currently welds within FLT_EPSILON.
1.5.9