iPOGO
Home FAQs Center Help Manual Development Contact Us
Help Manual

Computing Groups
0) Store Points
1) Bearing Comps
2) Angle Comps
3) Brg-Brg Intx
4) Brg-Dist Intx
5) Dist-Dist Intx
10) Rotation/Scale
11) RW Alignments
12) Cul De Sacs
13) Fillets
16) Road Alignments
17) Corner Utilities
18) Translation
19) Adjust Closures
36) Best Fit Solutions
60) Special Areas
900) Sub Commands

Printing Groups
7) Inverse
9) List Coords
15) Define Features
31) Station Os Curve
32) Station Os Tan
40) Stakeout
70) Road Stationing

Utilities Groups
90) Miscellaneous
Legal Notices How to Use This Manual Message Board

iPOGO V5 Help Manual On-Line

Group:
Command:

36) Best Fit Solutions
39 or BestFit Line


Methodology

Command:39
Alpha Alias:BestFit Line
Description:Fits a straight line through field points
Data Format: 39 Set Field-Points ;
Problem: Given field points 1 thru 5. Fit a line through the points so that the sum of the offsets to the right equal the sum of the offsets to the left. Compute the endpoints of the line.
Solution:
39 500 1 2 3 4 5 ;

No Image Available


Data Description
Command

39

Fits a straight line through field points, so that the sum of the offset distances from points on one side of the line is equal to the sum of the offset distances from points on the other side of the line. Computes two points which define the line.

Set

500

Point number assigned to the first point computed. This point is located by dropping a perpendicular from the first field point entered to the computed line. The second point computed will be numbered one greater than the first point number and will be set by dropping a perpendicular to the new line from the last known point entered.

Field-Points

1, 2, 3, 4, 5

Previously computed point numbers to be used in establishing the new line. You may enter up to 100 point numbers.

If you want to define a series of sequential points, enter the first and last points in the series. The last point number must be preceded by a hyphen.

Example:Enter 1,-10 to define the range of points from 1 through 10, inclusive.

End Command

;

All commands end with a semi-colon.


Example Command File
$ Example file for the 39 (BestFit Line) command

$ set the initial points
  0 1 1000 999 ;
  0 100 1000 1100 ;
  1.1 2 100 1 0 20 1 30 -1 40 1 50 -1 ;

$ compute the best fit line solution
$   using the 39 command
  39 500 1 2 3 4 5 ;

$ set plotting feature
  15.1 cl cl 1 1 1;

91 ;

15 cl;
100 line solution ;
    7 1 500 501 ;

100 offsets to field points from curve solution;
    33 500 501 1 -5 ;


Help for this command was last updated: 06/28/2000 12:19:08 AM

iPOGO V5 Help Manual On-Line, Copyright © 1994-2002 POGO Partnership, LLP. All Rights Reserved.