27 #include "../Config.h" 35 #define BOOST_TEST_NO_MAIN 36 #include <boost/test/unit_test.hpp> 60 BOOST_CHECK(distance > 0.);
63 BOOST_AUTO_TEST_SUITE_END()
Utility functions for TerraLib Edit module.
virtual double distance(const Geometry *const rhs) const _NOEXCEPT_OP(false)
It returns the shortest distance between any two points in the two geometry objects.
BOOST_AUTO_TEST_CASE(movePolygon_test)
BOOST_AUTO_TEST_SUITE(movegeometry_tests)
A LinearRing is a LineString that is both closed and simple.
A point with x and y coordinate values.
void setPoint(std::size_t i, const double &x, const double &y)
It sets the value of the specified point.
TEEDITEXPORT void MoveGeometry(te::gm::Geometry *geom, const double &deltax, const double &deltay)
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
Point * getCentroid() const
It returns the mathematical centroid for this surface as a point.
This file contains include headers for the Vector Geometry model of TerraLib.
void setRingN(std::size_t i, Curve *r)
It sets the informed position ring to the new one.