xmsgrid
1.0
|
provides indexing for the spatial index More...
Public Types | |
typedef const GmBstBox3d | result_type |
Public Member Functions | |
idx_tri (const Pt3d *a_pts, const int *a_tris, double a_tol) | |
result_type | operator() (size_t i) const |
calculates triangle extents based on a triangle index More... | |
Public Attributes | |
const Pt3d * | m_pts |
point locations | |
const int * | m_tris |
triangles referencing point indexes | |
double | m_tol |
tolerance used to expand extents of triangle | |
provides indexing for the spatial index
Definition at line 63 of file GmTriSearch.cpp.
typedef const GmBstBox3d xms::idx_tri::result_type |
created to follow boost examples
Definition at line 66 of file GmTriSearch.cpp.
|
inlineexplicit |
\ brief constructor
[in] | a_pts | Point locations |
[in] | a_tris | Triangles referencing point indexes |
[in] | a_tol | Tolerance for expanding triangle extents |
Definition at line 71 of file GmTriSearch.cpp.
|
inline |
calculates triangle extents based on a triangle index
i | index. |
Definition at line 80 of file GmTriSearch.cpp.
References m_pts, m_tol, m_tris, xms::Pt3< T >::x, and xms::Pt3< T >::y.