
GeoB
ASIC
Reference Manual
5.Standard Functions
5-36 TPS1100-Version
1.30
iReturnCode
out
Return-code; possible values:
RC_OK
successful calculation of
area
GM_NO_SOLUTION
current and
start-point are not yet
identical, point has been
added to polygon
Return Codes
RC_OK
successful calculation of area
GM_RADIUS_NOT_
POSSIBLE
invalid value for
dRadius
; this is
the case if
1)
dRadius
≠
0.0
and
2)
(
)
Abs dRadius
<
length of current edge
2
.
Example
Calculate the area from 3 given edges.
DIM iRetCode AS Integer
DIM CurrPt
AS GM_Measurements_Type
DIM dRadius
AS Double
DIM dArea
AS Double
'init CurrPt and dRadius with the first point
Init_GM_Point_Type( CurrPt )
CurrPt.dHz
=
0.0
CurrPt.dV
=
1.5707963
CurrPt.dSlopeDist = 10.0
GM_CalcAreaOfMeas_Start( CurrPt )
'add the second point
CurrPt.dHz
=
1.5707863
CurrPt.dV
=
1.5707963
CurrPt.dSlopeDist =
5.0
GM_CalcAreaOfMeas_Add( CurrPt, dRadius,
dArea, iRetCode )
Содержание 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 ...