59 std::size_t n = m_geometries.size();
61 for(std::size_t i = 0; i < n; ++i)
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...
virtual MultiSurface & operator=(const MultiSurface &rhs)
Assignment operator.
double getPerimeter() const
It returns the length of the boundary for the surface.
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...
Point * getPointOnSurface() const
It returns a point guaranteed to be on this MultiSurface.
An utility struct for representing 2D coordinates.
GeometryCollection & operator=(const GeometryCollection &rhs)
Assignment operator.
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.
Dimensionality
From Wikipedia: "in mathematics, the dimension of an object is an intrinsic property, independent of the space in which the object may happen to be embedded".
virtual double getArea() const =0
It returns the area of the surface measured in the spatial reference system of the surface...
Dimensionality getDimension() const
MultiSurface is 2-dimenional.
A point with x and y coordinate values.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
A base class for values that can be retrieved from the data access module.
It is a collection of other geometric objects.
Point * getCentroid() const
It returns the mathematical centroid for this MultiSurface as a point.
Coord2D * getCoordOnSurface() const
It returns a coordinate guaranteed to be on this MultiSurface.
An Envelope defines a 2D rectangular region.
virtual te::dt::AbstractData * clone() const
It clones the multi surface.
Surface is an abstract class that represents a 2-dimensional geometric objects.
Surface is an abstract class that represents a 2-dimensional geometric objects.