mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#POINT
* Added COORDINATE:SetAtLandheight()
This commit is contained in:
parent
e5c003a6bf
commit
375e4231aa
@ -1321,7 +1321,15 @@ do -- COORDINATE
|
|||||||
self.y=alt
|
self.y=alt
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Set altitude to be at land height (i.e. on the ground!)
|
||||||
|
-- @param #COORDINATE self
|
||||||
|
function COORDINATE:SetAtLandheight()
|
||||||
|
local alt=self:GetLandHeight()
|
||||||
|
self.y=alt
|
||||||
|
return self
|
||||||
|
end
|
||||||
|
|
||||||
--- Build an air type route point.
|
--- Build an air type route point.
|
||||||
-- @param #COORDINATE self
|
-- @param #COORDINATE self
|
||||||
-- @param #COORDINATE.WaypointAltType AltType The altitude type.
|
-- @param #COORDINATE.WaypointAltType AltType The altitude type.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user