Go to the documentation of this file.
26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_MULTISURFACE_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_MULTISURFACE_H
196 #endif // __TERRALIB_GEOMETRY_INTERNAL_MULTISURFACE_H
An Envelope defines a 2D rectangular region.
virtual ~MultiSurface()
Virtual destructor.
double getPerimeter() const
It returns the length of the boundary for the surface.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
It is a collection of other geometric objects.
TE_DEFINE_VISITABLE MultiSurface(std::size_t nGeom, GeomType t, int srid=0, Envelope *mbr=0)
It initializes the Geometry with the specified spatial reference system id and envelope.
Coord2D * getCentroidCoord() const
It returns the mathematical centroid for this MultiSurface as a coordinate.
double getArea() const
It returns the area of this MultiSurface, as measured in the spatial reference system of this multisu...
Dimensionality
From Wikipedia: "in mathematics, the dimension of an object is an intrinsic property,...
#define TE_DEFINE_VISITABLE
Coord2D * getCoordOnSurface() const
It returns a coordinate guaranteed to be on this MultiSurface.
Point * getCentroid() const
It returns the mathematical centroid for this MultiSurface as a point.
Dimensionality getDimension() const
MultiSurface is 2-dimenional.
An utility struct for representing 2D coordinates.
A base class for values that can be retrieved from the data access module.
virtual te::dt::AbstractData * clone() const
It clones the multi surface.
virtual MultiSurface & operator=(const MultiSurface &rhs)
Assignment operator.
It is a collection of other geometric objects.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
MultiSurface(const MultiSurface &rhs)
Copy constructor.
A point with x and y coordinate values.
Point * getPointOnSurface() const
It returns a point guaranteed to be on this MultiSurface.
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...