|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbOGRGeometryWrapper_h
22 #define otbOGRGeometryWrapper_h
24 #if defined(__GNUC__) || defined(__clang__)
25 #pragma GCC diagnostic push
26 #pragma GCC diagnostic ignored "-Wshadow"
27 #include <boost/interprocess/smart_ptr/unique_ptr.hpp>
28 #pragma GCC diagnostic pop
30 #include <boost/interprocess/smart_ptr/unique_ptr.hpp>
33 #include "OTBGdalAdaptersExport.h"
55 void operator()(OGRGeometry* p);
109 typedef boost::interprocess::unique_ptr<OGRGeometry, internal::GeometryDeleter>
UniqueGeometryPtr;
111 OTBGdalAdapters_EXPORT
bool Intersects(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
113 OTBGdalAdapters_EXPORT
bool Equals(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
115 OTBGdalAdapters_EXPORT
bool Disjoint(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
117 OTBGdalAdapters_EXPORT
bool Touches(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
119 OTBGdalAdapters_EXPORT
bool Crosses(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
121 OTBGdalAdapters_EXPORT
bool Within(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
123 OTBGdalAdapters_EXPORT
bool Contains(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
125 OTBGdalAdapters_EXPORT
bool Overlaps(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
127 OTBGdalAdapters_EXPORT
double Distance(OGRGeometry
const& lhs, OGRGeometry
const& rhs);
169 #ifndef OTB_MANUAL_INSTANTIATION
173 #endif // otbOGRGeometryWrapper_h
OTBGdalAdapters_EXPORT UniqueGeometryPtr SimplifyDontPreserveTopology(OGRGeometry const &g, double tolerance)
OTBGdalAdapters_EXPORT bool Within(OGRGeometry const &lhs, OGRGeometry const &rhs)
Tests for containment.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
OTBGdalAdapters_EXPORT UniqueGeometryPtr SimplifyPreserveTopology(OGRGeometry const &g, double tolerance)
boost::interprocess::unique_ptr< OGRGeometry, internal::GeometryDeleter > UniqueGeometryPtr
OTBGdalAdapters_EXPORT UniqueGeometryPtr Difference(OGRGeometry const &lhs, OGRGeometry const &rhs)
Computes difference.
OTBGdalAdapters_EXPORT bool Touches(OGRGeometry const &lhs, OGRGeometry const &rhs)
Tests for touching.
OTBGdalAdapters_EXPORT bool Contains(OGRGeometry const &lhs, OGRGeometry const &rhs)
Tests for containment.
OTBGdalAdapters_EXPORT double Distance(OGRGeometry const &lhs, OGRGeometry const &rhs)
Computes distance between two geometries.
OTBGdalAdapters_EXPORT UniqueGeometryPtr SymDifference(OGRGeometry const &lhs, OGRGeometry const &rhs)
Computes symmetric difference.
OTBGdalAdapters_EXPORT UniqueGeometryPtr Simplify(OGRGeometry const &g, double tolerance)
OTBGdalAdapters_EXPORT bool Intersects(OGRGeometry const &lhs, OGRGeometry const &rhs)
Do these features intersect?
OTBGdalAdapters_EXPORT bool Crosses(OGRGeometry const &lhs, OGRGeometry const &rhs)
Tests for crossing.
OTBGdalAdapters_EXPORT UniqueGeometryPtr UnionCascaded(OGRGeometry const &this_)
Computes union using cascading.
OTBGdalAdapters_EXPORT UniqueGeometryPtr Union(OGRGeometry const &lhs, OGRGeometry const &rhs)
Computes union.
OTBGdalAdapters_EXPORT bool Disjoint(OGRGeometry const &lhs, OGRGeometry const &rhs)
Tests for disjointness.
OTBGdalAdapters_EXPORT bool Equals(OGRGeometry const &lhs, OGRGeometry const &rhs)
Returns wheither if two geometries are equivalent.
OTBGdalAdapters_EXPORT bool Overlaps(OGRGeometry const &lhs, OGRGeometry const &rhs)
Tests for overlap.
OTBGdalAdapters_EXPORT UniqueGeometryPtr Intersection(OGRGeometry const &lhs, OGRGeometry const &rhs)
Computes intersection.