|
| PolygonFeature (OGRFeature *feature) |
| Construct a PolygonFeature with a feature which contains a Polygon.
|
|
| PolygonFeature (OGRFeature *feature, OGRGeometry *ogrPolygon) |
|
std::list< std::vector< double > > | get_outer_vertices () |
| Get the vertices of the base shape.
|
|
void | set_outer_vertices (std::list< std::vector< double > > vertices) |
| Replace the outer vertices with new geometry (holes, if any, are left unchanged)
|
|
std::list< std::list< std::vector< double > > > | get_holes () |
| Get all cutout shapes.
|
|
| 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 |
|
◆ PolygonFeature()
PolygonFeature::PolygonFeature |
( |
OGRFeature * |
feature, |
|
|
OGRGeometry * |
ogrPolygon |
|
) |
| |
Construct a PolygonFeature with a feature that can contain any geometry (usually used for MultiPolygons) - it is not accessed, the geometry is given as a separate PolygonFeature parameter instead.
The documentation for this class was generated from the following files:
- /github/workspace/src/vector-extractor/PolygonFeature.h
- /github/workspace/src/vector-extractor/PolygonFeature.cpp