Operation Bearing
bearing (GM_Position toPoint), in Class GM_Point
Documentation
Returns the vector bearing of the second point with respect to the first. So. P1.Bearing(P2) is a unit vector based at P1 pointing towards P2.
The operation "bearing" shall return the bearing of the tangent (at this GM_Point) to the curve between this GM_Point and a passed DirectPosition.
GM_Point::bearing(point : DirectPosition) : Vector
The choice of the curve type for defining the bearing is dependent on the CRS in which this GM_Point is defined. For example, in Mercator Projections in its most common usage, the curve is the rhumb line. In a 3D, geocentric coordinate system, the curve may be the geodesic joining the two points along the surface of the geoid in use. Implementation supporting this function shall specify the nature of the curve to be used.
Protocol | | Qualification | |
Exceptions | | Size | |
Time | | Concurrency | Sequential |
Export Control | PublicAccess | | |
Preconditions
Postconditions
Semantics