|
xmsgrid
1.0
|
Provides functionality to do spatial queries on a set of triangles. Uses the boost RTree for queries. More...
#include <xmsgrid/geometry/GmTriSearch.h>#include <boost/geometry.hpp>#include <boost/geometry/geometries/polygon.hpp>#include <boost/geometry/index/rtree.hpp>#include <boost/unordered_map.hpp>#include <boost/iterator/counting_iterator.hpp>#include <xmscore/math/math.h>#include <xmscore/stl/utility.h>#include <xmsgrid/geometry/GmBoostTypes.h>#include <xmsgrid/geometry/geoms.h>#include <xmsgrid/geometry/GmPtSearch.h>#include <xmscore/misc/xmstype.h>#include <xmscore/misc/XmError.h>#include <xmscore/misc/XmConst.h>#include <xmsgrid/geometry/GmTriSearch.t.h>#include <xmscore/testing/TestTools.h>#include <xmsgrid/triangulate/TrTin.h>#include <xmsgrid/triangulate/TrTin.t.h>Go to the source code of this file.
Classes | |
| class | xms::idx_tri |
| provides indexing for the spatial index More... | |
| struct | xms::BarycentricVals |
| Structure for Barycentric coordinate calculations. More... | |
| class | xms::GmTriSearchImpl |
| Implementation of GmTriSearch. More... | |
Namespaces | |
| xms | |
| XMS Namespace. | |
Macros | |
| #define | BARYTOL 1e-6 |
| This is an odd duck tolerance. | |
Functions | |
| void | xms::iCartToBary (const Pt3d &a_pt1, const Pt3d &a_pt2, const Pt3d &a_pt3, BarycentricVals &a_b) |
| Converts from Cartesian coordinates to Barycentric coordinates (local triangle coords). More... | |
| void | xms::iGetBarycentricCoords (const Pt3d &a_p, BarycentricVals &a_b, Pt3d &weights) |
| Calculates weights at the 3 points of a triangle given the location "a_p" and the Barycentric coords of the triangle. More... | |
Provides functionality to do spatial queries on a set of triangles. Uses the boost RTree for queries.
Definition in file GmTriSearch.cpp.