26#ifndef __TERRALIB_GEOMETRY_INTERNAL_CURVE_H
27#define __TERRALIB_GEOMETRY_INTERNAL_CURVE_H
#define TE_DEFINE_VISITABLE
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
virtual Curve & operator=(const Curve &rhs)
Assignment operator.
virtual bool isClosed() const =0
It returns true if the curve is closed (startPoint = endPoint).
Curve(const Curve &rhs)
Copy constructor.
virtual std::unique_ptr< Point > getStartPoint() const =0
It returns the curve start point.
bool isRing() const
It returns true if the curve is closed and simple.
virtual ~Curve()
Virtual destructor.
Dimensionality getDimension() const
Curves are 1-dimensional objects.
virtual std::unique_ptr< Point > getEndPoint() const =0
It returns the curve end point.
virtual double getLength() const
The length of this curve in the unit associated to its spatial reference system.
Curve(GeomType t, int srid=0, Envelope *mbr=0)
It initializes the curve with the specified spatial reference system id and envelope.
An Envelope defines a 2D rectangular region.
Geometry(GeomType t, int srid=0, Envelope *mbr=0) _NOEXCEPT_OP(true)
It initializes the Geometry with the specified spatial reference system id and envelope.
A point with x and y coordinate values.
Namespace for the Vector Geometry module of TerraLib.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
Dimensionality
From Wikipedia: "in mathematics, the dimension of an object is an intrinsic property,...
Configuration flags for the Vector Geometry Model of TerraLib.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.