Fire Core  8.0.0.alpha
GIS framework per tutti gli usi
 Tutto Classi Namespace Funzioni Variabili Ridefinizioni di tipo (typedef) Tipi enumerati (enum) Valori del tipo enumerato Friend
LinearRing.hpp
1 // Copyright 2015 GEOSYSTEMS SRL
2 // All Rights Reserved.
3 
4 #ifndef FIRE_GEAR_GEOM_LINEARRING_HPP_INCLUDED
5 #define FIRE_GEAR_GEOM_LINEARRING_HPP_INCLUDED
6 
7 #include "fire/export.hpp"
8 
9 #include "fire/gear/geom/LineString.hpp"
10 
11 namespace fire {
12 namespace gear {
13 namespace geom {
14 class PrecisionModel;
15 class CoordinateSequence;
16 } // namespace geom
17 } // namespace gear
18 } // namespace fire
19 
26 namespace fire {
33 namespace gear {
40 namespace geom {
47 class FIRE_ENGINE_DLL LinearRing : public LineString {
48  public:
54  LinearRing();
62  LinearRing(PrecisionModel* precisionModel, int srid);
75  LinearRing(CoordinateSequence* coordinateSequence, PrecisionModel* precisionModel, int srid);
87  explicit LinearRing(CoordinateSequence* coordinateSequence);
94  LinearRing(const LinearRing& linearRing);
101  LinearRing& operator=(const LinearRing& linearRing);
106  virtual ~LinearRing();
118  bool isClosed() const;
125  void closeRing();
137  bool isRing() const;
149  GeometryType::GeometryType getGeometryType() const;
156  void reverse();
157 };
158 } // namespace geom
159 } // namespace gear
160 } // namespace fire
161 
162 #endif
Definition: PrecisionModel.hpp:50
Definition: LinearRing.hpp:47
GeometryType
Definition: GeometryType.hpp:43
Definition: CoordinateSequence.hpp:49
Definition: LineString.hpp:48