Skip to main content

NoFlyZone

No-Fly Zone polygon definition. Represents a restricted airspace area as a polygon. Altitude bounds define the vertical extent of the restriction.

Public Attributes


id

Unique identifier for the NFZ.

type

Type of no-fly zone.

vertices

Polygon vertices (lat, lon pairs)

min_altitude_m

Minimum altitude affected (meters MSL)

max_altitude_m

Maximum altitude affected (meters MSL)

Public Methods


contains_point

const
Check if a point is inside the NFZ polygon (horizontal)

Parameters

  • point The geographic point to check

Returns

true if point is inside the polygon

contains_altitude

const
Check if an altitude is within the NFZ vertical bounds.

Parameters

  • altitude_m Altitude in meters

Returns

true if altitude is within the NFZ vertical extent

contains

const
Check if a point (including altitude) is in the NFZ.

Parameters

  • point The 3D geographic point

Returns

true if point is within the NFZ