This class represents a two dimensional coordinate (x,y) in the SGWorld, usually a latitude, longitude coordinate.
Constructor
Name |
Description |
Initializes a new instance of the SGPCoord2D class. |
Properties
Name |
Description |
The x coordinate, usually longitude. |
|
The y coordinate, usually latitude. |
Methods
Name |
Description |
Moves a 2D coordinate the specified distance and direction. |
|
Moves a 2D coordinate the specified distance towards another coordinate. |
|
Moves a 2D coordinate the specified percentage towards another coordinate. |
|
Measures the distance between two coordinates. |
|
Measures the angles (yaw and pitch) between two coordinates. |
|
isEqual Method |
Compare the properties values of this SGCoord2D object to another SGCoord2D object. |