9 #include <QApplication> 20 canvas.
setWindow(-180.0, -90.0, +180.0, +90.0);
A LinearRing is a LineString that is both closed and simple.
LineString is a curve with linear interpolation between points.
Several examples declarations.
void setPoint(std::size_t i, const double &x, const double &y)
It sets the value of the specified point.
This file contains include headers for the Color Model of TerraLib.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
This file contains include headers for the Vector Geometry model of TerraLib.
void DrawingGeometricObjects()
It retrieves data from a Shape-file and prints it to a png graphics file.
void setRingN(std::size_t i, Curve *r)
It sets the informed position ring to the new one.