26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_SURFACE_H 
   27 #define __TERRALIB_GEOMETRY_INTERNAL_SURFACE_H 
  121         virtual 
double getArea() const = 0;
 
  132         virtual 
Point* getCentroid() const = 0;
 
  145         virtual 
Coord2D* getCentroidCoord() const = 0;
 
  154         virtual 
Point* getPointOnSurface() const = 0;
 
  165         virtual 
Coord2D* getCoordOnSurface() const = 0;
 
  172         virtual 
double getPerimeter() const = 0;
 
#define TE_DEFINE_VISITABLE
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
 
An Envelope defines a 2D rectangular region.
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
 
A point with x and y coordinate values.
 
Surface is an abstract class that represents a 2-dimensional geometric objects.
 
virtual ~Surface()
Virtual destructor.
 
Surface(const Surface &rhs)
Copy constructor.
 
virtual Surface & operator=(const Surface &rhs)
Assignment operator.
 
Dimensionality getDimension() const
Surfaces are 2-dimensional objects.
 
Surface(GeomType t, int srid=0, Envelope *mbr=0)
It initializes the surface with the specified spatial reference system id and envelope.
 
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,...
 
An utility struct for representing 2D coordinates.
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.