Nasal library/geo: Difference between revisions

Jump to navigation Jump to search
Save
(Add dump())
(Save)
Line 233: Line 233:
coord.set_latlon(90, 45, 10);
coord.set_latlon(90, 45, 10);
coord.dump(); # prints "x=0.055063  y=0.055063  z=6356762.314245    lat=90.000000  lon=45.000000  alt=10.000000"
coord.dump(); # prints "x=0.055063  y=0.055063  z=6356762.314245    lat=90.000000  lon=45.000000  alt=10.000000"
}}
==== course_to() ====
{{Nasal doc
|syntax = geo.Coord.course_to(coord);
|source = {{fgdata file|Nasal/geo.nas|t=Source}}
|text = Returns the initial bearing to another <code>geo.Coord</code> instance.
|example1 =
}}
}}
=== PositionedSearch ===
=== PositionedSearch ===

Navigation menu