Geodot Plugin
Loading...
Searching...
No Matches
PointFeature.h
1//
2// Created by karl on 08.04.20.
3//
4
5#ifndef VECTOREXTRACTOR_POINTFEATURE_H
6#define VECTOREXTRACTOR_POINTFEATURE_H
7
8#include "Feature.h"
9
10class OGRPoint;
11
12class PointFeature : public Feature {
13 public:
15 explicit PointFeature(OGRFeature *feature);
16
20 PointFeature(OGRFeature *feature, OGRGeometry *ogrPoint);
21
25 double get_x();
26 double get_y();
27 double get_z();
28
29 void set_vector(double x, double y, double z);
30
31 private:
32 OGRPoint *point;
33};
34
35#endif // VECTOREXTRACTOR_POINTFEATURE_H
Definition: Feature.h:12
Definition: PointFeature.h:12
double get_x()
Definition: PointFeature.cpp:14