Field-Map Scripting

4.1.14.7 Polar2XY

Polar2XY procedure


Prototype:

procedure Polar2XY (const X0, Y0, Azimuth_deg, Distance_m : double; var X,Y : double);

Description:

Converts coordinates of point from polar system into XY Carthesian system.

Syntax:

Polar2XY (X0, Y0, Azimuth, Distance, X,Y);


Part

Description


X0, Y0

Coordinates of system origin


Azimuth

Azimuth of point from the system origin


Distance

Distance of point from the system origin


X, Y

Variables to record coordinates of point in Carthesian system after conversion




Return value:

XY coordinates in Carthesian system


Note: This procedure is available since version X7.




See also:                

ExtendLine; CombinePolygons; IntersectPolygons; FindLineIntersects; Distance; PolarToXY; Polar2XY; XYtoPolar; XY2polar