Help Manual
|
iPOGO V5 Help Manual On-Line |
Group: Command: |
36) Best Fit Solutions 37 or BestFit Curve |
Methodology
|
| Command: | 37 |
| Alpha Alias: | BestFit Curve |
| Description: | Fits a curve through field points |
| Data Format: | 37 Set Field-Points ; |
| Problem: | Given field points 1 thru 5. Fit a curve through the points so that the sum of the offsets to the right equal the sum of the offsets to the left. Compute the radius point, PC and PT of the curve. |
| Solution: |
37 500 1 2 3 4 5 ; |
Data Description
Command
| 37
| Fits a curve through field points, so that the sum of the offset distances from points on one side of the curve is equal to the sum of the offset distances from points on the other side of the curve. Computes three points for the curve: a radius point and two points on the curve.
|
Set
| 500
| Point number assigned to the curve radius point to be computed. The first point on the curve is located by dropping a perpendicular from the first field point to the curve and will be numbered one greater than the radius point. The second point computed will be set by dropping a perpendicular to the curve from the final field point and will be numbered two greater than the radius point.
|
Field-Points
| 1, 2, 3, 4, 5
| Previously computed point numbers to be used in establishing the curve. You may enter to up 100 point numbers. The field points must progress along both sides of the curve; otherwise, the program may produce errors.
Note: If an error is detected, check that your field points are entered in order along the curve, and if possible, eliminate the two points on each end of the curve.
If you want to define a series of sequential points, enter the first and last continuous 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.
Warning! Prior to Version 4, iPOGO only used the first and last point of a range in this command and ignored the intermediate points in the range. If an old DOS command file contained a point range calculation in the 37 command, you will see different and more accurate results in Version 4 and later. To get the same computation results as the old DOS output, simply remove the hyphen and use the two end points.
|
End Command
| ;
| All commands end with a semi-colon.
|
Example Command File
$ Example file for the 37 (BestFit Curve) command
$ set the initial points
0 1 1000 999 ;
0 100 1000 1100 ;
-2 2 100 100 1 10 0 0 99
50 0 0 101
110 0 0 99
130 0 0 101 ;
$ compute the best fit curve solution
$ using the 37 command
37 500 1 2 3 4 5 ;
$ set plotting feature
15.1 cl cl 1 1 1;
91 ;
15 cl;
100 curve solution ;
7 1 501 500.1 502 ;
100 offsets to field points from curve solution;
31 500 501 0 502 1 -5 ;
Help for this command was last updated: 08/04/2001 8:53:24 AM
|