xmsgrid
1.0
|
class for indexing the points More...
Public Types | |
typedef const bPt | result_type |
created to follow boost examples | |
Public Member Functions | |
idx_pt (const Pt3d *a_, bool a_2d) | |
constructor More... | |
idx_pt (BSHP< std::vector< Pt3d >> a_, bool a_2d) | |
constructor More... | |
result_type | operator() (size_t i) const |
operator to return the point location based on an index More... | |
Public Attributes | |
const Pt3d * | m_ |
array of point locations | |
bool | m_2d |
flag specifying 2d searching only | |
BSHP< std::vector< Pt3d > > | m_v |
vector of point locations | |
class for indexing the points
Definition at line 124 of file GmPtSearch.cpp.
|
inlineexplicit |
constructor
[in] | a_ | Array of point locations |
[in] | a_2d | 2d or 3d points |
Definition at line 132 of file GmPtSearch.cpp.
References m_v.
constructor
[in] | a_ | Array of point locations |
[in] | a_2d | 2d or 3d points |
Definition at line 142 of file GmPtSearch.cpp.
|
inline |
operator to return the point location based on an index
i | index. |
Definition at line 152 of file GmPtSearch.cpp.