
GeoB
ASIC
Reference Manual
5.Standard Functions
TPS1100-Version 1.30
5-59
5.6.20 GM_CalcPointInLine
Description
Calculation of a point on a line.
Declaration
GM_CalcPointInLine(
Line
AS GM_Line_Type,
byVal dDist AS Double,
Point AS GM_Point_Type )
Remarks
This function is calculating the point with the distance
dDist
from a given point on a line (the first point of the line definition -
see predefined structure
GM_Line_Type
) on the line.
Note
Used formula: see Appendix, Geodesy Math. Formulas.
Parameters
Line
in
Definition of the line.
dDist
in
Distance of the point on the line to be
calculated, from the 1. point of the line [m].
Point
out
Calculated point on the line.
Return Codes
GM_IDENTICAL_PTS
Start- and endpoint of a line are
identical. Calculation is not possible.
Example
Calculate the point in the line.
DIM Line
AS GM_Line_Type
DIM Point AS GM_Point_Type
'initialize line
GM_CalcPointInLine( Line, 1.0, Point )
Содержание 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 ...