Test suite for the RTree Class. More...
#include <TsRtree.h>
Public Member Functions | |
| void | setUp () |
| void | tearDown () |
Protected Member Functions | |
| void | tcRTreeBox () |
| Test Case: Constructs an RTree inserting a gride of unitary box . More... | |
| void | tcRTreeBox_2 () |
| Test Case: Constructs an RTree (MAXNODE = 2) inserting the defined rectangles and search the RTree. More... | |
| void | tcRTreeBox_3 () |
| Test Case: Constructs an RTree (MAXNODE = 3) inserting the defined rectangles and search the RTree. More... | |
| void | tcRTreeBox_4 () |
| Test Case: Constructs an RTree (MAXNODE = 4) inserting the defined rectangles and search the RTree. More... | |
| void | tcRTreeGradeInts () |
| Test Case: Constructs an RTree inserting a gride of ints . More... | |
| void | tcRTreeInts () |
| Test Case: Constructs an RTree using int as DATATYPE . More... | |
| void | tcRTreePointers () |
| Test Case: Constructs an RTree using pointer as DATATYPE . More... | |
| void | tcRTreeUnsignedInts () |
| Test Case: Constructs an RTree using unsigned int as DATATYPE . More... | |
Protected Attributes | |
| te::gm::Envelope * | r08 |
| te::gm::Envelope * | r09 |
| te::gm::Envelope * | r1 |
| te::gm::Envelope * | r10 |
| te::gm::Envelope * | r11 |
| te::gm::Envelope * | r12 |
| te::gm::Envelope * | r13 |
| te::gm::Envelope * | r14 |
| te::gm::Envelope * | r15 |
| te::gm::Envelope * | r16 |
| te::gm::Envelope * | r17 |
| te::gm::Envelope * | r18 |
| te::gm::Envelope * | r19 |
| te::gm::Envelope * | r2 |
| te::gm::Envelope * | r3 |
| te::gm::Envelope * | r4 |
| te::gm::Envelope * | r5 |
| te::gm::Envelope * | r6 |
| te::gm::Envelope * | r7 |
Private Member Functions | |
| CPPUNIT_TEST (tcRTreeInts) | |
| CPPUNIT_TEST (tcRTreeUnsignedInts) | |
| CPPUNIT_TEST (tcRTreePointers) | |
| CPPUNIT_TEST (tcRTreeGradeInts) | |
| CPPUNIT_TEST (tcRTreeBox) | |
| CPPUNIT_TEST (tcRTreeBox_4) | |
| CPPUNIT_TEST (tcRTreeBox_3) | |
| CPPUNIT_TEST (tcRTreeBox_2) | |
| CPPUNIT_TEST_SUITE (TsRTree) | |
| CPPUNIT_TEST_SUITE_END () | |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| void TsRTree::setUp | ( | ) |
|
protected |
Test Case: Constructs an RTree inserting a gride of unitary box .
Definition at line 231 of file TsRtree.cpp.
References te::common::FreeContents(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::size().
|
protected |
Test Case: Constructs an RTree (MAXNODE = 2) inserting the defined rectangles and search the RTree.
Definition at line 554 of file TsRtree.cpp.
References te::common::FreeContents(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, r08, r09, r1, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r2, r3, r4, r5, r6, r7, te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::size().
|
protected |
Test Case: Constructs an RTree (MAXNODE = 3) inserting the defined rectangles and search the RTree.
Definition at line 433 of file TsRtree.cpp.
References te::common::FreeContents(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, r08, r09, r1, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r2, r3, r4, r5, r6, r7, te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::size().
|
protected |
Test Case: Constructs an RTree (MAXNODE = 4) inserting the defined rectangles and search the RTree.
Definition at line 314 of file TsRtree.cpp.
References te::common::FreeContents(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, r08, r09, r1, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r2, r3, r4, r5, r6, r7, te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::size().
|
protected |
Test Case: Constructs an RTree inserting a gride of ints .
Definition at line 180 of file TsRtree.cpp.
References te::common::FreeContents(), te::gm::Geometry::getMBR(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search().
|
protected |
Test Case: Constructs an RTree using int as DATATYPE .
Definition at line 97 of file TsRtree.cpp.
References te::common::FreeContents(), te::gm::Geometry::getMBR(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search().
|
protected |
Test Case: Constructs an RTree using pointer as DATATYPE .
Definition at line 142 of file TsRtree.cpp.
References te::common::FreeContents(), te::gm::Geometry::getMBR(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search().
|
protected |
Test Case: Constructs an RTree using unsigned int as DATATYPE .
Definition at line 67 of file TsRtree.cpp.
References te::common::FreeContents(), te::gm::Geometry::getMBR(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search().
| void TsRTree::tearDown | ( | ) |
Definition at line 63 of file TsRtree.cpp.
|
protected |
Definition at line 115 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 116 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 123 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 117 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 118 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 114 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 119 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 120 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 109 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 110 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 111 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 112 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 113 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 124 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 125 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 126 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 127 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 128 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().
|
protected |
Definition at line 129 of file TsRtree.h.
Referenced by setUp(), tcRTreeBox_2(), tcRTreeBox_3(), and tcRTreeBox_4().