
GeoB
ASIC
Reference Manual
5.Standard Functions
5-16 TPS1100-Version
1.30
5.5 STANDARD MATHEMATICS FUNCTIONS
5.5.1 Summarising List of Mathematics Functions
function name
description
Atn
Returns the arcs tangent of a number.
Cos
Returns the cosine of an angle.
Exp
Returns e (the base of natural logarithms) raised to a power.
Log
Returns the natural logarithm of a number.
Rnd
Returns a random number in a user-defined value-range.
Sin
Returns the sine of an angle.
Sqr
Returns the square root of a number.
SRnd
Initialises the random-number generator.
Tan
Returns the tangent of an angle.
5.5.2 Remark on the Conversion of Angles
GeoB
ASIC
computes in SI units, for angles this means in radians. The conversion
from grad to radians and vice versa is described next.
Let the variable
halfCircle
be 200 gon. (For decimal degrees,
halfCircle
is 180
degrees. The value in the variable
grad
must be in the corresponding degree units.)
radians
halfCircle
radians
halfCircle
=
×
=
×
grad
grad
π
π
Another way to convert angles is to use the geodesy mathematics conversion
function. For example to convert
dDegree
decimal degrees to radians (the result
will be in
dRadian
), use the following function call. (See section 5.6.24 for a
detailed description.)
GM_ConvertAngle( GM_DEGREE_DEZ, dDegree, GM_RADIANS,
dRadian, iReturnCode )
See Also
Geodesy Mathematical Formulas: Section on "Conversion of
Angles".
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...