1 // Utility functions for the ATC / AI subsytem declarations
4 #include <simgear/math/point3d.hxx>
6 // Given two positions, get the HORIZONTAL separation
7 double dclGetHorizontalSeparation(Point3D pos1, Point3D pos2);
9 // Given a position (lat/lon/elev), heading, vertical angle, and distance, calculate the new position.
10 // Assumes that the ground is not hit!!! Expects heading and angle in degrees, distance in meters.
11 Point3D dclUpdatePosition(Point3D pos, double heading, double angle, double distance);