23 #include <geos/export.h> 24 #include <geos/geom/Geometry.h> 25 #include <geos/geom/CoordinateSequence.h> 26 #include <geos/geom/Envelope.h> 27 #include <geos/geom/Dimension.h> 28 #include <geos/geom/SimpleCurve.h> 37 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 43 class CoordinateSequenceFilter;
84 std::unique_ptr<LineString>
clone()
const 86 return std::unique_ptr<LineString>(cloneImpl());
89 std::string getGeometryType()
const override;
93 double getLength()
const override;
95 bool isCurved()
const override {
105 std::unique_ptr<LineString>
reverse()
const {
return std::unique_ptr<LineString>(reverseImpl()); }
122 getSortIndex()
const override 124 return SORTINDEX_LINESTRING;
129 envelope = computeEnvelopeInternal(
true);
134 void validateConstruction();
137 struct GEOS_DLL LineStringLT {
139 operator()(
const LineString* ls1,
const LineString* ls2)
const 141 return ls1->compareTo(ls2) < 0;
std::vector< const LineString * > ConstVect
A vector of const LineString pointers.
Definition: LineString.h:73
GeometryTypeId
Geometry types.
Definition: Geometry.h:74
Definition: LineString.h:66
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:70
std::unique_ptr< LineString > reverse() const
Definition: LineString.h:105
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
LineString * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: LineString.h:117
void geometryChangedAction() override
Notifies this Geometry that its Coordinates have been changed by an external party.
Definition: LineString.h:127
std::unique_ptr< LineString > clone() const
Creates and returns a full copy of this LineString object (including all coordinates contained by it)...
Definition: LineString.h:84