4 #ifndef FIRE_GEAR_GEOM_LINESTRING_HPP_INCLUDED
5 #define FIRE_GEAR_GEOM_LINESTRING_HPP_INCLUDED
7 #include "fire/export.hpp"
9 #include "fire/gear/geom/Geometry.hpp"
14 class CoordinateSequence;
78 void loadJsonValueGeometry(Json::Value& value)
const;
90 void loadJsonValueCoordinates(Json::Value& value)
const;
102 virtual void setCoordinatesFromJsonValue(Json::Value& value);
110 bool isZ_DoubleNotANumber()
const;
207 bool isClosed()
const;
236 const Coordinate& getCoordinateAt(std::size_t index)
const;
289 void setCoordinateAt(
Coordinate* coordinate, std::size_t index);
306 void insertCoordinateAt(
Coordinate* coordinate, std::size_t index);
323 void removeCoordinateAt(std::size_t index);
335 double getLength()
const;
347 double getArea()
const;
373 std::size_t getCoordinatesCount()
const;
397 bool isEmpty()
const;
Definition: Coordinate.hpp:48
Definition: Polygon.hpp:50
Definition: PrecisionModel.hpp:50
std::auto_ptr< CoordinateSequence > coordinates
Definition: LineString.hpp:59
Definition: MultiLineString.hpp:48
GeometryType
Definition: GeometryType.hpp:43
Definition: CoordinateSequence.hpp:49
Definition: Geometry.hpp:69
Definition: LineString.hpp:48
DimensionType
Definition: DimensionType.hpp:41
bool allowedRepeated
Definition: LineString.hpp:66