| Maptitude GISDK Help |
Computes the azimuth (heading) for a line between two points.
azim = Azimuth(coord c1, coord c2)
| Argument | Contents |
|---|---|
| c1 | First coordinate |
| c2 | Second coordinate |
A real number indicating the azimuth in degrees, from 0 (due north) to 360 (measured clockwise).
loc1 = Coord(-120000000, 45000000)
loc2 = Coord(-95000000, 37500000)
azim = Azimuth(loc1, loc2)
ShowMessage("The azimuth is " + String(azim))
| Function | Summary |
|---|---|
| GetDistance() | Computes the great circle distance between two coordinates |
| Heading() | Returns the azimuth of the AB or BA direction of a line |
| ©2025 Caliper Corporation | www.caliper.com |