|
QCAD
Open Source 2D CAD
|
#include <opennurbs_rtree.h>
Public Member Functions | |
| bool | CreateMeshFaceTree (const class ON_Mesh *mesh) |
| int | ElementCount () |
| bool | Insert (const double a_min[3], const double a_max[3], int a_element_id) |
| bool | Insert (const double a_min[3], const double a_max[3], void *a_element_id) |
| bool | Insert2d (const double a_min[2], const double a_max[2], int a_element_id) |
| bool | Insert2d (const double a_min[2], const double a_max[2], void *a_element_id) |
| ON_RTree (ON_MEMORY_POOL *heap=0, size_t leaf_count=0) | |
| bool | Remove (const double a_min[3], const double a_max[3], int a_elementId) |
| bool | Remove (const double a_min[3], const double a_max[3], void *a_elementId) |
| bool | Remove2d (const double a_min[2], const double a_max[2], int a_elementId) |
| bool | Remove2d (const double a_min[2], const double a_max[2], void *a_elementId) |
| void | RemoveAll () |
| const ON_RTreeNode * | Root () const |
| bool | Search (const double a_min[3], const double a_max[3], bool ON_MSC_CDECL resultCallback(void *a_context, ON__INT_PTR a_id), void *a_context) const |
| bool | Search (const double a_min[3], const double a_max[3], ON_RTreeSearchResult &a_result) const |
| bool | Search (const double a_min[3], const double a_max[3], ON_SimpleArray< int > &a_result) const |
| bool | Search (const double a_min[3], const double a_max[3], ON_SimpleArray< ON_RTreeLeaf > &a_result) const |
| bool | Search (const double a_min[3], const double a_max[3], ON_SimpleArray< void * > &a_result) const |
| bool | Search2d (const double a_min[2], const double a_max[2], bool ON_MSC_CDECL resultCallback(void *a_context, ON__INT_PTR a_id), void *a_context) const |
| bool | Search2d (const double a_min[2], const double a_max[2], ON_RTreeSearchResult &a_result) const |
| bool | Search2d (const double a_min[2], const double a_max[2], ON_SimpleArray< int > &a_result) const |
| bool | Search2d (const double a_min[2], const double a_max[2], ON_SimpleArray< ON_RTreeLeaf > &a_result) const |
| bool | Search2d (const double a_min[2], const double a_max[2], ON_SimpleArray< void * > &a_result) const |
| size_t | SizeOf () const |
| ~ON_RTree () | |
Static Public Member Functions | |
| static bool | Search (const ON_RTree &a_rtreeA, const ON_RTree &a_rtreeB, double tolerance, ON_SimpleArray< ON_2dex > &a_result) |
| static bool | Search (const ON_RTree &a_rtreeA, const ON_RTree &a_rtreeB, double tolerance, void ON_MSC_CDECL resultCallback(void *a_context, ON__INT_PTR a_idA, ON__INT_PTR a_idB), void *a_context) |
Private Member Functions | |
| bool | AddBranch (ON_RTreeBranch *, ON_RTreeNode *, ON_RTreeNode **) |
| bool | InsertRect (ON_RTreeBBox *, ON__INT_PTR, ON_RTreeNode **, int) |
| bool | InsertRectRec (ON_RTreeBBox *, ON__INT_PTR, ON_RTreeNode *, ON_RTreeNode **, int) |
| void | LoadNodes (ON_RTreeNode *, ON_RTreeNode *, struct ON_RTreePartitionVars *) |
| void | ReInsert (ON_RTreeNode *, struct ON_RTreeListNode **) |
| void | RemoveAllRec (ON_RTreeNode *) |
| bool | RemoveRect (ON_RTreeBBox *, ON__INT_PTR, ON_RTreeNode **) |
| bool | RemoveRectRec (ON_RTreeBBox *, ON__INT_PTR, ON_RTreeNode *, struct ON_RTreeListNode **) |
| void | SplitNode (ON_RTreeNode *, ON_RTreeBranch *, ON_RTreeNode **) |
Private Attributes | |
| ON_RTreeMemPool | m_mem_pool |
| size_t | m_reserved |
| ON_RTreeNode * | m_root |
| ON_RTree::ON_RTree | ( | ON_MEMORY_POOL * | heap = 0, |
| size_t | leaf_count = 0 ) |
| ON_RTree::~ON_RTree | ( | ) |
|
private |
| int ON_RTree::ElementCount | ( | ) |
|
private |
|
private |
|
private |
|
private |
| void ON_RTree::RemoveAll | ( | ) |
|
private |
|
private |
|
private |
| const ON_RTreeNode * ON_RTree::Root | ( | ) | const |
| bool ON_RTree::Search | ( | const double | a_min[3], |
| const double | a_max[3], | ||
| bool ON_MSC_CDECL | resultCallbackvoid *a_context, ON__INT_PTR a_id, | ||
| void * | a_context ) const |
| bool ON_RTree::Search | ( | const double | a_min[3], |
| const double | a_max[3], | ||
| ON_RTreeSearchResult & | a_result ) const |
| bool ON_RTree::Search | ( | const double | a_min[3], |
| const double | a_max[3], | ||
| ON_SimpleArray< int > & | a_result ) const |
| bool ON_RTree::Search | ( | const double | a_min[3], |
| const double | a_max[3], | ||
| ON_SimpleArray< ON_RTreeLeaf > & | a_result ) const |
| bool ON_RTree::Search | ( | const double | a_min[3], |
| const double | a_max[3], | ||
| ON_SimpleArray< void * > & | a_result ) const |
|
static |
|
static |
| bool ON_RTree::Search2d | ( | const double | a_min[2], |
| const double | a_max[2], | ||
| bool ON_MSC_CDECL | resultCallbackvoid *a_context, ON__INT_PTR a_id, | ||
| void * | a_context ) const |
| bool ON_RTree::Search2d | ( | const double | a_min[2], |
| const double | a_max[2], | ||
| ON_RTreeSearchResult & | a_result ) const |
| bool ON_RTree::Search2d | ( | const double | a_min[2], |
| const double | a_max[2], | ||
| ON_SimpleArray< int > & | a_result ) const |
| bool ON_RTree::Search2d | ( | const double | a_min[2], |
| const double | a_max[2], | ||
| ON_SimpleArray< ON_RTreeLeaf > & | a_result ) const |
| bool ON_RTree::Search2d | ( | const double | a_min[2], |
| const double | a_max[2], | ||
| ON_SimpleArray< void * > & | a_result ) const |
| size_t ON_RTree::SizeOf | ( | ) | const |
|
private |
|
private |
|
private |
|
private |