Home > other >  C # write a three dimensional autonomous traverse advanced calculator
C # write a three dimensional autonomous traverse advanced calculator

Time:10-29

Description:
This is a can be used for closing or echo traverse, height calculation as well as the elevation difference of ping fu and drawing wire thumbnail multi-function software, the software can choose second class, third class rating standards and closed or echo wire mode, through the TXT file imports have good results, and automatically calculate the coordinates of each point corresponding increment and coordinates, and calculate the closure and key values, such as K value to calculate the coordinates of each point, according to its values and then to correct evaluation calculation, at last, according to the coordinate values have been calculated, draw the wire in the corresponding interface diagram,
Traverse interface:

Elevation difference computing interface:

Design idea: the design of multifunctional traverse check plotter based on the work of surveying and mapping personnel in the calculation of all sorts of problems in the industry, has realized the elevation and coordinates, point figure computer automatically calculate the data, and to implement inspection to correct data, save the work of surveying and mapping workers, improve the validity of the results and precision at the same time, at the same time, the multifunctional software can realize the function of observation to assess, surveyors can choose according to the result of evaluation is to measure or other measures,
The main code:
1. The view class:


2. Point class:
(1) the distance between two points algorithm

(2) the triangle elevation and the elevation difference algorithm the

(3) the azimuth Angle of the algorithm of computing
The Angle calculated by coordinates from p1 to p2

Wire left Angle

3. The relevant variables

4. Self-help generated traverse form, triangle elevation calculation form self-help generation algorithm

5.
drawing algorithm


Manual input wire directional point coordinate and the point coordinates, and enter the first side and directional edge Angle, click the calculate button to automatically calculate the amount and corresponding
AD/201902/28/1551344104 _728507. PNG] [/img]
Then triangulated height calculation mode choice, manually enter the point coordinate with echo point coordinate, click on the lower left button, then calculate the corresponding values,

System of achievements assessment button click on the triangle elevation, the program, according to blue and red interactive place indicates that reorganization data there is an error, and in the Picture below tip to the user in the box,

If shown above, we will be the first group of data of prism changed to 6 m high, a program to calculate the results, points out that the wrong location, and in the Picture below the following tips given in the box,
Switch to the wire map drawing mode, click the plot button, in the automatic generation of the corresponding point of the route, and the location of the point marked its abscissa values, the ordinate value and perspective,

CodePudding user response:

Not too clear how coordinate calculation and adjust the incremental code
  • Related