#include <xmsgeom/geometry/GmPtSearch.h>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/register/point.hpp>
#include <boost/geometry/index/rtree.hpp>
#include <boost/iterator/counting_iterator.hpp>
#include <xmscore/points/pt.h>
#include <xmscore/stl/utility.h>
#include <xmscore/misc/XmError.h>
#include <xmscore/misc/DynBitset.h>
#include <xmscore/misc/XmConst.h>
#include <xmsgeom/geometry/GmPtSearch.t.h>
#include <boost/assign.hpp>
#include <xmscore/testing/TestTools.h>
Go to the source code of this file.
|
|
#define | _TS_ASSERT_POINTS_FOUND(a_file, a_line, a_required, a_optional, a_found) iAssertPointsFound(a_file, a_line, a_required, a_optional, a_found) |
| | macro for testing
|
| |
|
#define | TS_ASSERT_POINTS_FOUND(a_required, a_optional, a_found) _TS_ASSERT_POINTS_FOUND(__FILE__, __LINE__, a_required, a_optional, a_found) |
| | macro for testing
|
| |
|
|
typedef bg::model::box< bPt > | xms::box |
| | box
|
| |
|
typedef size_t | xms::value |
| | value
|
| |
|
typedef bgi::quadratic< 8 > | xms::qRtree |
| | qRtree
|
| |
|
| | BOOST_GEOMETRY_REGISTER_POINT_3D (bPt, double, cs::cartesian, x, y, z) |
| |
| void | iGetPoints2 (std::vector< Pt3d > &a_pts, std::vector< float > &a_scalar, std::vector< Pt3d > &a_iPts) |
| | Get GMS tutorial data. More...
|
| |
| void | iAssertPointsFound (const char *a_file, int a_line, const std::vector< int > &a_required, const std::vector< int > &a_optional, const std::vector< int > &a_found) |
| | helper function for testing More...
|
| |
| static void | iSetupPts (std::vector< Pt3d > &pts, bool a_2d) |
| | helper function for testing More...
|
| |
| static void | iSetupPtsOctant (std::vector< Pt3d > &pts) |
| | helper function for testing More...
|
| |
- Copyright
- (C) Copyright Aquaveo 2018. Distributed under the xmsng Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.aquaveo.com/xmsng/LICENSE_1_0.txt)
Definition in file GmPtSearch.cpp.
| BOOST_GEOMETRY_REGISTER_POINT_3D |
( |
bPt |
, |
|
|
double |
, |
|
|
cs::cartesian |
, |
|
|
x |
, |
|
|
y |
, |
|
|
z |
|
|
) |
| |
boost macro for registering bPt as a 3D point. Most of our use of the spatial indexes is in 2D. However, we do use the point searching in 3D if the user constructs the object with 2d specified as false.
| void iAssertPointsFound |
( |
const char * |
a_file, |
|
|
int |
a_line, |
|
|
const std::vector< int > & |
a_required, |
|
|
const std::vector< int > & |
a_optional, |
|
|
const std::vector< int > & |
a_found |
|
) |
| |
helper function for testing
- Parameters
-
| a_file | file. |
| a_line | line. |
| a_required | ??? |
| a_optional | ??? |
| a_found | ??? |
Definition at line 688 of file GmPtSearch.cpp.
| void iGetPoints2 |
( |
std::vector< Pt3d > & |
a_pts, |
|
|
std::vector< float > & |
a_scalar, |
|
|
std::vector< Pt3d > & |
a_iPts |
|
) |
| |
| static void iSetupPts |
( |
std::vector< Pt3d > & |
pts, |
|
|
bool |
a_2d |
|
) |
| |
|
static |
| static void iSetupPtsOctant |
( |
std::vector< Pt3d > & |
pts | ) |
|
|
static |