Nasal library/geo: Difference between revisions

Jump to navigation Jump to search
Re-order functions and doc ERAD
m (Finish geo.Coord class)
(Re-order functions and doc ERAD)
Line 3: Line 3:
This page contains documentation for the '''<code>geo</code> namespace''' in [[Nasal]]. This namespace provides various geography/position-related [[#Functions|functions]], as well the [[#Coord|main class]]. The <code>geo</code> namespace is sourced from {{fgdata file|Nasal/geo.nas}}
This page contains documentation for the '''<code>geo</code> namespace''' in [[Nasal]]. This namespace provides various geography/position-related [[#Functions|functions]], as well the [[#Coord|main class]]. The <code>geo</code> namespace is sourced from {{fgdata file|Nasal/geo.nas}}


== Class ==
== Classes ==
=== Coord ===
=== Coord ===
{{Nasal doc
{{Nasal doc
Line 292: Line 292:
== Functions ==
== Functions ==
=== aircraft_position() ===
=== aircraft_position() ===
=== viewer_position() ===
=== click_position() ===
=== click_position() ===
=== tile_path() ===
=== elevation() ===
=== elevation() ===
=== format() ===
=== normdeg() ===
=== normdeg() ===
=== normdeg180() ===
=== normdeg180() ===
=== put_model() ===
=== put_model() ===
=== tile_index() ===
=== tile_path() ===
=== viewer_position() ===


== Variable ==
== Variable ==
=== ERAD ===
=== ERAD ===
{{Nasal doc
|syntax = geo.ERAD;
|text = Radius of Earth in metres. This is almost equivalent to Earth's equatorial radius (6,378,137 m). Value: 6,378,138.12
}}

Navigation menu