MoveAlongGreatCircle()
Summary
Computes the new coordinate obtained by moving along a great circle.
Syntax
end_pt = MoveAlongGreatCircle(coord start, real heading, real distance)
| Argument | Contents |
|---|---|
| start | The starting coordinate |
| heading | The heading given by the azimuth east of north in degrees |
| distance | The distance to move, specified in the current map units |
Returns
The resulting coordinate.
Example
loc = Coord(-120000000, 45000000)
end_pt = MoveAlongGreatCircle (loc, 45, 100)
ShowArray({end_pt})
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The starting coordinate is null |
See Also
| Function | Summary |
|---|---|
| GreatCircleMidpoint() | Finds the midpoint between two coordinates |