
GeoB
ASIC
Reference Manual
5.Standard Functions
5-62 TPS1100-Version
1.30
iRetCode
out
Return - Code; possible values:
GM_NO_
SOLUTION
no solution found
GM_ONE_
SOLUTION
with the delivered
values there is
exactly one
triangle solution
GM_TWO_
SOLUTIONS
with the delivered
values there are
triangle solutions
Return Codes
GM_INVALID_
TRIANGLE_TYPE
Invalid triangle-type. There was no
calculation. The recovered values are
not defined.
Example
Calculate the distance of a target from a station according to given
StationPt
and
TargetPt
.
DIM FirstSol
AS GM_Triangle_Values_Type
DIM SecondSol AS GM_Triangle_Values_Type
DIM MeanError AS GM_Triangle_Accuracy_Type
DIM iRetCode
AS Integer
'initialize
FirstSol.dSide1
= 3.0
FirstSol.dSide3
= 5.0
FirstSol.dAngle2 = Atn( 4.0/3.0 )
GM_CalcTriangle( GM_SIDE_ANGLE_SIDE, FirstSol,
MeanError, SecondSol, iRetCode)
'iRetCode will be GM_ONE_SOLUTION for
'
GM_SIDE_ANGLE_SIDE problems
Содержание 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 ...