48 return (isClosed() && isSimple());
Dimensionality getDimension() const
Curves are 1-dimensional objects.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
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".
bool isRing() const
It returns true if the curve is closed and simple.
Curve(GeomType t, int srid=0, Envelope *mbr=0)
It initializes the curve with the specified spatial reference system id and envelope.
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.
virtual Geometry & operator=(const Geometry &rhs)
Assignment operator.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
An Envelope defines a 2D rectangular region.
virtual Curve & operator=(const Curve &rhs)
Assignment operator.