22 #include <geos/export.h> 25 #include <geos/geom/LineString.h> 32 class CoordinateArraySequence;
63 static const unsigned int MINIMUM_VALID_SIZE = 3;
89 std::unique_ptr<LinearRing> clone()
const 91 return std::unique_ptr<LinearRing>(cloneImpl());
102 int getBoundaryDimension()
const override;
104 bool isClosed()
const override;
106 std::string getGeometryType()
const override;
112 std::unique_ptr<LinearRing> reverse()
const {
return std::unique_ptr<LinearRing>(reverseImpl()); }
117 getSortIndex()
const override 119 return SORTINDEX_LINEARRING;
128 void validateConstruction();
GeometryTypeId
Geometry types.
Definition: Geometry.h:73
Definition: LineString.h:66
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...
Definition: LinearRing.h:55
LinearRing * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: LinearRing.h:122
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44