d = MAG(v1 - v2)where v1 and v2 are vectors in a CARTESIAN coordinate system.
NEW -- to create a Position object INVOKE -- to invoke the method in Position to convert from GEODETIC to CARTESIAN CALC -- to compute the distance once the points are converted to CARTESIAN
nM> miss_distance 44 33 45 34 Miss distance is 136644.17740578306 meters
call myProc 10 res1 ! Sets res1 result call myProc 20 res2 ! Sets res2 result ... procedure myProc N:in U:myOutputRes result ^myOutputRes in return
VD
using the following
syntax:
nM> result myVector (pos.x,pos,y,pos.z)where pos is a Position object.