Kaim::FloorAltitudeRange Class Reference

Kaim::FloorAltitudeRange Class Reference

#include <flooraltituderange.h>

Class Description

Represents the range of altitudes covered by a single NavFloorBlob.

Public Member Functions

bool DoesIntersect (const FloorAltitudeRange &other) const
 
bool DoesIntersect (KyFloat32 zmin, KyFloat32 zmax) const
 
bool IsAltitudeInside (KyFloat32 altitude, KyFloat32 toleranceAboveFloor, KyFloat32 toleranceBelowFloor) const
 

Public Attributes

KyFloat32 m_maxZ
 
KyFloat32 m_minZ
 

Member Function Documentation

bool Kaim::FloorAltitudeRange::DoesIntersect ( const FloorAltitudeRange other) const
inline

Returns true if the range of altitudes represented by this object intersects the range represented by the specified FloorAltitudeRange.

+ Examples:
bool Kaim::FloorAltitudeRange::DoesIntersect ( KyFloat32  zmin,
KyFloat32  zmax 
) const
inline

Returns true if the range of altitudes represented by this object intersects the range zmin and zmax arguments.

bool Kaim::FloorAltitudeRange::IsAltitudeInside ( KyFloat32  altitude,
KyFloat32  toleranceAboveFloor,
KyFloat32  toleranceBelowFloor 
) const
inline

Returns true if the specified coordinates are within the range of altitudes represented by this object.

Parameters
altitudeThe altitude of the point to test.
toleranceAboveFloorSpecifies an extra padding distance in meters that is added to the maximum altitude of this range before the test.
toleranceBelowFloorSpecifies an extra padding distance in meters that is subtracted from the minimum altitude of the range before the test.

Member Data Documentation

KyFloat32 Kaim::FloorAltitudeRange::m_maxZ

Stores the maximum altitude covered by this range. Do not modify.

KyFloat32 Kaim::FloorAltitudeRange::m_minZ

Stores the minimum altitude covered by this range. Do not modify.


The documentation for this class was generated from the following file: