28 #include "../Config.h" 42 #include <boost/shared_ptr.hpp> 62 CPPUNIT_ASSERT(poly->
isValid() ==
false);
63 CPPUNIT_ASSERT(
false);
65 catch (
const std::exception& e)
76 CPPUNIT_ASSERT(poly->
isValid() ==
true);
78 catch (
const std::exception& e)
80 CPPUNIT_ASSERT(
false);
Proxy file for the real file terralib_defines.h.
An static class with global definitions.
A LinearRing is a LineString that is both closed and simple.
void setPoint(std::size_t i, const double &x, const double &y)
It sets the value of the specified point.
virtual bool isValid() const _NOEXCEPT_OP(false)
It tells if the geometry is well formed.
CPPUNIT_TEST_SUITE_REGISTRATION(TsNoAreaRings)
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
This file contains include headers for the TerraLib Common Runtime module.
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.
A test suit for the Fix Geometries class interface.