NoFlyZone
Public Attributes
| Return | Name | Description |
|---|---|---|
std::string | id | Unique identifier for the NFZ. |
NFZType | type | Type of no-fly zone. |
std::vector< GeoPoint > | vertices | Polygon vertices (lat, lon pairs) |
double | min_altitude_m | Minimum altitude affected (meters MSL) |
double | max_altitude_m | Maximum altitude affected (meters MSL) |
id
type
vertices
min_altitude_m
max_altitude_m
Public Methods
| Return | Name | Description |
|---|---|---|
bool | contains_point const | Check if a point is inside the NFZ polygon (horizontal) |
bool | contains_altitude const | Check if an altitude is within the NFZ vertical bounds. |
bool | contains const | Check if a point (including altitude) is in the NFZ. |
contains_point
const
Parameters
pointThe geographic point to check
Returns
true if point is inside the polygoncontains_altitude
const
Parameters
altitude_mAltitude in meters
Returns
true if altitude is within the NFZ vertical extentcontains
const
Parameters
pointThe 3D geographic point