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.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
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 is the root class of the geometries hierarchy, it follows OGC and ISO standards.
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,...
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).