-
Notifications
You must be signed in to change notification settings - Fork 36
Using the console
The new Tcl console in version 3.1 enables users to make calculations using the functions of GeoEasy.
Open a console window from the Window menu of the main window. Input your Tcl command into the entry widget at the top of the console window. In the main part of the console the previous commands are visible. The command have to be finished by Enter key. The result of your command is visible in the calculation results window.
Let's start with basic calculation. Input in the top line of the console window:
expr 4 + 5
expr 100 * sin(5.0 / 200000.0)
In the Calculation results window you should get
9
0.0024999999997395834
The functions defined in the GeoEasy source code can be used. The documentation of the functions are here. Input in the top line of the console window to change angle from radian to DMS:
DMS 0.13245
The result is:
7-35-20
To calculate the intersection of two lines given by a point and a bearing.
Intersec 10 20 50 17 [DMS2Rad 45-10-22] [DMS2Rad 321-45-32]
The intersection point will be in the calculation results window:
31.10400420201746 40.977106498665322
GeoEasy for all land surveyors