11 #include <boost/dynamic_bitset.hpp>
30 static BSHP<GmPtSearch>
New(
bool a_2dSearch);
34 virtual void PtsToSearch(BSHP<VecPt3d> a_pts) = 0;
36 virtual void VectorThatGrowsToSearch(BSHP<VecPt3d> a) = 0;
37 virtual bool AddPtToVectorIfUnique(
const Pt3d& a_,
double a_tol,
int& a_ptIdx) = 0;
39 virtual void NearestPtsToPt(
const Pt3d& a_pt,
41 bool a_quad_oct_Search,
42 VecInt& a_nearest)
const = 0;
44 virtual void NearestPtsToPtInRtree(
int a_ptIdx,
47 bool a_quad_oct_Search,
48 VecInt& a_nearest)
const = 0;
50 virtual bool PtInRTree(
const Pt3d& a_pt,
const double a_tol) = 0;
52 virtual void PtsWithinDistanceToPtInRtree(
int a_ptIdx,
55 VecInt& a_nearest)
const = 0;
57 virtual void SetActivity(boost::dynamic_bitset<size_t>& a_activity) = 0;
58 virtual boost::dynamic_bitset<size_t> GetActivity() = 0;
60 virtual const BSHP<VecPt3d> GetPointsPtr()
const = 0;
61 virtual bool Is2D()
const = 0;
62 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.