DEFINE SORT
- Last UpdatedFeb 01, 2023
- 1 minute read
Purpose
Change the default sort method.
Syntax
|
DEFINE ( SORT ) ( /AROUND ) ( $W ) ( x-near y-near ) |
Description
There are default methods used for sorting points when GETting or FITting Sections, Waterlines, Buttocks and Diagonals but the user can specify that an alternative sort be used. See the SORT command for further information of the other sorting algorithms that are available.
This is particularly useful when using the FIT command where a series of curves need to be fitted in succession and the default sort is not appropriate.
The sort method used can be set back to the default by giving the /STANDARD option.
The /EXISTING /TOL=$N option instructs the system to use the existing curve as a guide to sorting points when regenerating or refitting a curve. The TOLerance value determines the maximum distance a data point can lie from the existing curve before the curve can no longer be used as a guide for sorting the points. If no such guide curve can be found or it is too far away from the new data points, then one of the other sorting methods is used, as selected by the user. The /OFF option disables this functionality.
Command Qualifiers
See the SORT command for a description of possible sort methods.
Examples
|
DEFINE SORT /X |