20#ifndef GEOS_GEOS_LINEARRING_H
21#define GEOS_GEOS_LINEARRING_H
23#include <geos/export.h>
26#include <geos/platform.h>
27#include <geos/geom/LineString.h>
29#include <geos/inline.h>
57class GEOS_DLL LinearRing :
public LineString {
67 LinearRing(
const LinearRing &lr);
82 const GeometryFactory *newFactory);
86 const GeometryFactory *newFactory);
110 bool isClosed()
const;
122 void validateConstruction();
The default implementation of CoordinateSequence.
Definition CoordinateArraySequence.h:37
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Models an OGC SFS LinearRing.
Definition LinearRing.h:57
virtual GeometryTypeId getGeometryTypeId() const
Return an integer representation of this Geometry type.
std::string getGeometryType() const
Return a string representation of this Geometry type.
bool isSimple() const
Returns true, since by definition LinearRings are always simple.
LinearRing(CoordinateSequence::AutoPtr points, const GeometryFactory *newFactory)
Hopefully cleaner version of the above.
int getBoundaryDimension() const
Returns Dimension.FALSE, since by definition LinearRings do not have a boundary.
virtual Geometry * clone() const
Creates and returns a full copy of this LineString object (including all coordinates contained by it)...
Definition LinearRing.h:88
static const unsigned int MINIMUM_VALID_SIZE
Definition LinearRing.h:65
LinearRing(CoordinateSequence *points, const GeometryFactory *newFactory)
Constructs a LinearRing with the given points.
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
GeometryTypeId
Geometry types.
Definition Geometry.h:65
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25