20 #ifndef GEOS_GEOS_LINEARRING_H 21 #define GEOS_GEOS_LINEARRING_H 23 #include <geos/export.h> 26 #include <geos/geom/LineString.h> 28 #include <geos/inline.h> 34 class CoordinateArraySequence;
65 static const unsigned int MINIMUM_VALID_SIZE = 3;
88 std::unique_ptr<LinearRing> clone()
const 90 return std::unique_ptr<LinearRing>(cloneImpl());
101 int getBoundaryDimension()
const override;
103 bool isClosed()
const override;
105 std::string getGeometryType()
const override;
111 std::unique_ptr<LinearRing> reverse()
const {
return std::unique_ptr<LinearRing>(reverseImpl()); }
116 getSortIndex()
const override 118 return SORTINDEX_LINEARRING;
127 void validateConstruction();
134 #endif // ndef GEOS_GEOS_LINEARRING_H GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Definition: LineString.h:68
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Basic namespace for all GEOS functionalities.
Definition: Angle.h:26
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...
Definition: LinearRing.h:57
LinearRing * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: LinearRing.h:121
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58