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