mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Ref T225, set height to NULL
This commit is contained in:
@@ -247,6 +247,12 @@ namespace BlackMisc
|
||||
m_z = latitude.sin();
|
||||
}
|
||||
|
||||
void CCoordinateGeodetic::setGeodeticHeightToNull()
|
||||
{
|
||||
static const CAltitude na = CAltitude(0, CAltitude::MeanSeaLevel, CLengthUnit::nullUnit());
|
||||
this->setGeodeticHeight(na);
|
||||
}
|
||||
|
||||
CCoordinateGeodetic &CCoordinateGeodetic::switchUnit(const CLengthUnit &unit)
|
||||
{
|
||||
m_geodeticHeight.switchUnit(unit);
|
||||
|
||||
Reference in New Issue
Block a user