20 #ifndef GEOS_GEOS_LINEARRING_H 21 #define GEOS_GEOS_LINEARRING_H 34 class CoordinateArraySequence;
62 static const unsigned int MINIMUM_VALID_SIZE = 4;
85 std::unique_ptr<Geometry>
88 return std::unique_ptr<Geometry>(
new LinearRing(*
this));
99 int getBoundaryDimension()
const override;
101 bool isClosed()
const override;
103 std::string getGeometryType()
const override;
109 std::unique_ptr<Geometry> reverse()
const override;
122 void validateConstruction();
129 #endif // ndef GEOS_GEOS_LINEARRING_H
std::unique_ptr< Geometry > clone() const override
Make a deep-copy of this Geometry.
GeometryTypeId
Geometry types.
std::unique_ptr< CoordinateSequence > Ptr
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Basic namespace for all GEOS functionalities.
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...
The internal representation of a list of coordinates inside a Geometry.
int getSortIndex() const override