Development
|
iPOGO Development Center Report #150
| #150 MAIN - Resolved - 17 command does not round bearings correctly
| |
BugNo |
150
| |
CodeModule |
MAIN
| |
Status |
Resolved
| |
Title |
17 command does not round bearings correctly
| |
Description |
The 17 command rounds bearings of inversed lines to the interval specified and recomputes the points. The original help manual example on page 215 uses a ten minute rounding of 600 seconds. This version does not produce the correct coordinates to match the help manual. The following comments contains an example file that will reproduce the problem and also display the correct results for checking.
Note: The following describes the internal computation procedures.- Coordinates of the first point in the sequence are held.
- A new second point is recomputed at the rounded bearing and holding the first distance.
- A new second bearing and distance is inversed from the recomputed second point to the third point.
- The third point is recomputed at the new rounded bearing and new second distance.
- and so forth to the last point.
| |
Comments |
$ Example File for the 17 (ROUND BEARINGS) command
$ set initial points from help manual
0
21 5000 5000
22 5105 5100
23 5007 5214
24 5116 5304
122 5104.8885 5100.1170
123 5007.0281 5214.0242
124 5116.0719 5303.9130
;
100 Original bearings ;
7 1 21 -24 ;
100 recomputed bearings from manual ;
7 1 21 122 -124 ;
$ round bearings to 10 minutes and recompute points with the 17 command
17 600 21 22 23 24 ;
$ Setup feature codes with the 15.1 command
$ cmd feature, layer, color, style, thickness
15.1 PL PL 3 1 1 ;
$ Turn plot on
91 ;
$ Activate the PL feature code with the 15 command
15 PL ;
100 Rounded bearings - these should match the previous bearings;
7,1 21 -24 ;
| |
FiledBy |
set
| |
FiledDate |
03/27/2000
| |
ResolvedDate |
03/28/2000
| |
Resolution |
-
| |
VersionNo |
4.0 Beta
| |