Difference between revisions of "ZonePoint"
From Wherigo Foundation Wiki
Ranger Fox (Talk | contribs) (Created page with "A ZonePoint is probably intended to represent a vertex of a zone. It is also used to represent arbitrary points. It contains latitude, longitude and altitude. Two ZonePoints c...") |
Ranger Fox (Talk | contribs) m |
||
Line 5: | Line 5: | ||
== Properties == | == Properties == | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |altitude||[[Distance | + | |altitude||[[Distance]]||The altitude of the point. |
|- | |- | ||
|latitude||Number.||The latitude of the point. | |latitude||Number.||The latitude of the point. |
Latest revision as of 13:31, 22 April 2018
A ZonePoint is probably intended to represent a vertex of a zone. It is also used to represent arbitrary points. It contains latitude, longitude and altitude. Two ZonePoints could also be compared if latitude, longitude and altitude are equal.
An INVALID_ZONEPOINT is defined as ZonePoint(360,360,360).
Properties
altitude | Distance | The altitude of the point. |
latitude | Number. | The latitude of the point. |
longitude | Number. | The longitude of the point. |
Methods
Clone | Returns ZonePoint. | Creates a copy of the ZonePoint object. |
Constructor
Wherigo.ZonePoint(latitude, longitude, altitude)
latitude | Number. | The latitude of the point in decimal degrees. |
longitude | Number. | The longitude of the point in decimal degrees. |
altitude | Number or Distance. | The altitude of the point in meters. |