|
PackedVector2Array | get_outer_vertices () |
| Return the vertices making up the base polygon in a PoolVector2Array.
|
|
PackedVector2Array | get_float_offset_outer_vertices (double offset_x, double offset_y) |
| Same as get_outer_vertices, but a given offset is subtracted from all vertices.
|
|
PackedVector2Array | get_offset_outer_vertices (int offset_x, int offset_y) |
|
void | set_outer_vertices (PackedVector2Array vertices) |
|
void | set_float_offset_outer_vertices (double offset_x, double offset_y, PackedVector2Array vertices) |
|
void | set_offset_outer_vertices (int offset_x, int offset_y, PackedVector2Array vertices) |
|
Array | get_holes () |
|
Array | get_float_offset_holes (double offset_x, double offset_y) |
|
Array | get_offset_holes (int offset_x, int offset_y) |
|
void | add_hole (PackedVector2Array hole) |
|
String | get_attribute (String name) const |
|
void | set_attribute (String name, String value) |
|
int | get_id () const |
|
Dictionary | get_attributes () const |
|
void | set_gdal_feature (std::shared_ptr< Feature > gdal_feature) |
|
void | set_deleted (bool is_deleted) |
|
bool | intersects_with (Ref< GeoFeature > other) |
|
|
static void | _bind_methods () |
|
static void | _bind_methods () |
|
|
std::shared_ptr< Feature > | gdal_feature |
|
◆ get_holes()
Array GeoPolygon::get_holes |
( |
| ) |
|
Return a list with any number of PoolVector2Arrays. These represent polygons that should be cut out of the base polygon retrieved by get_outer_vertices.
The documentation for this class was generated from the following files:
- /github/workspace/src/geofeatures.h
- /github/workspace/src/geofeatures.cpp