22 #include <geos/export.h> 25 #include <geos/geom/LineString.h> 62 static const unsigned int MINIMUM_VALID_SIZE = 3;
81 std::unique_ptr<LinearRing> clone()
const 83 return std::unique_ptr<LinearRing>(cloneImpl());
94 int getBoundaryDimension()
const override;
96 bool isClosed()
const override;
98 std::string getGeometryType()
const override;
104 std::unique_ptr<LinearRing> reverse()
const {
return std::unique_ptr<LinearRing>(reverseImpl()); }
106 void orient(
bool isCW);
111 getSortIndex()
const override 113 return SORTINDEX_LINEARRING;
122 void validateConstruction();
GeometryTypeId
Geometry types.
Definition: Geometry.h:73
Definition: LineString.h:65
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:65
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:54
LinearRing * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: LinearRing.h:116
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:56