10 #include <boost/dynamic_bitset.hpp> 29 static BSHP<GmPtSearch>
New(
bool a_2dSearch);
33 virtual void PtsToSearch(BSHP<VecPt3d> a_pts) = 0;
35 virtual void VectorThatGrowsToSearch(BSHP<VecPt3d> a) = 0;
36 virtual bool AddPtToVectorIfUnique(
const Pt3d& a_,
double a_tol,
int& a_ptIdx) = 0;
38 virtual void NearestPtsToPt(
const Pt3d& a_pt,
40 bool a_quad_oct_Search,
41 VecInt& a_nearest)
const = 0;
43 virtual void NearestPtsToPtInRtree(
int a_ptIdx,
46 bool a_quad_oct_Search,
47 VecInt& a_nearest)
const = 0;
49 virtual bool PtInRTree(
const Pt3d& a_pt,
const double a_tol) = 0;
51 virtual void PtsWithinDistanceToPtInRtree(
int a_ptIdx,
54 VecInt& a_nearest)
const = 0;
56 virtual void SetActivity(boost::dynamic_bitset<size_t>& a_activity) = 0;
57 virtual boost::dynamic_bitset<size_t> GetActivity() = 0;
59 virtual const BSHP<VecPt3d> GetPointsPtr()
const = 0;
60 virtual bool Is2D()
const = 0;
61 virtual std::string ToString()
const = 0;
Spatial index for searching points.
std::vector< int > VecInt
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
static BSHP< GmPtSearch > New(bool a_2dSearch)
Creates an PtSearch class.