|
|
| PointFeature (OGRFeature *feature) |
| | Construct a LineFeature with a feature which contains a LineString.
|
| |
| | PointFeature (OGRFeature *feature, OGRGeometry *ogrPoint) |
| |
| double | get_x () |
| |
|
double | get_y () |
| |
|
double | get_z () |
| |
|
void | set_vector (double x, double y, double z) |
| |
|
| Feature (OGRFeature *feature) |
| | Construct a Feature from an OGRFeature from GDAL, taking ownership of the OGRFeature object.
|
| |
| | Feature (OGRFeature *feature, const OGRGeometry *geometry) |
| |
|
std::map< std::string, std::string > | get_attributes () |
| | Return a map with all attribute names -> values.
|
| |
| const char * | get_attribute (const char *name) |
| |
|
void | set_attribute (const char *name, const char *value) |
| |
|
int | get_id () const |
| |
|
bool | intersects_with (std::shared_ptr< Feature > other) const |
| |
|
| enum | GeometryType { NONE
, POINT
, LINE
, POLYGON
} |
| |
|
GeometryType | geometry_type = NONE |
| |
|
bool | is_deleted = false |
| |
|
OGRFeature * | feature |
| |
◆ PointFeature()
| PointFeature::PointFeature |
( |
OGRFeature * |
feature, |
|
|
OGRGeometry * |
ogrPoint |
|
) |
| |
Construct a LineFeature with a feature that can contain any geometry (usually used for MultiLineStrings) - it is not accessed, the geometry is given as a separate LineString parameter instead.
◆ get_x()
| double PointFeature::get_x |
( |
| ) |
|
Get the individual x, y and z components from the line point at the given index. The same can be accomplished with the get_line_point function, but this one works without special std types.
The documentation for this class was generated from the following files:
- /github/workspace/src/vector-extractor/PointFeature.h
- /github/workspace/src/vector-extractor/PointFeature.cpp