15 #ifndef GEOS_GEOM_COORDINATEARRAYSEQUENCE_H 16 #define GEOS_GEOM_COORDINATEARRAYSEQUENCE_H 44 std::unique_ptr<CoordinateSequence> clone()
const override;
46 const Coordinate& getAt(std::size_t pos)
const override;
49 void getAt(std::size_t i,
Coordinate& c)
const override;
51 size_t getSize()
const override;
54 void toVector(std::vector<Coordinate>&)
const override;
61 std::size_t dimension = 0);
65 std::size_t dimension = 0);
100 void add(
const Coordinate& c,
bool allowRepeated);
113 void add(std::size_t i,
const Coordinate& coord,
bool allowRepeated);
117 void setAt(
const Coordinate& c, std::size_t pos)
override;
119 void setPoints(
const std::vector<Coordinate>& v)
override;
121 void setOrdinate(std::size_t index, std::size_t ordinateIndex,
122 double value)
override;
124 void expandEnvelope(
Envelope& env)
const override;
126 std::size_t getDimension()
const override;
143 #endif // ndef GEOS_GEOM_COORDINATEARRAYSEQUENCE_H std::vector< Coordinate > vect
CoordinateArraySequence DefaultCoordinateSequence
This is for backward API compatibility.
An Envelope defines a rectangulare region of the 2D coordinate plane.
The default implementation of CoordinateSequence.
Coordinate is the lightweight class used to store coordinates.
bool isEmpty() const override
Returns true it list contains no coordinates.
Geometry classes support the concept of applying a coordinate filter to every coordinate in the Geome...
Basic namespace for all GEOS functionalities.
The internal representation of a list of coordinates inside a Geometry.
void clear()
Reset this CoordinateArraySequence to the empty state.