RTreeExamples.cpp File Reference

This file contains several examples on how to use the R-tree spatial access method. More...

#include <terralib_buildconfig.h>
#include <terralib/common.h>
#include <terralib/geometry.h>
#include <terralib/sam.h>
#include "SAMExamples.h"
#include <vector>

Go to the source code of this file.

Functions

void IndexPointUsingRTree ()
 This example shows how to index a set of points using the R-tree spatial access method. More...
 

Detailed Description

This file contains several examples on how to use the R-tree spatial access method.

Definition in file RTreeExamples.cpp.

Function Documentation

void IndexPointUsingRTree ( )

This example shows how to index a set of points using the R-tree spatial access method.

Definition at line 37 of file RTreeExamples.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().

Referenced by main().