imagesSortRatio function

Syntax

  • string imagesSortRatio(filePathList, axesRatio)
  • string[] imagesSortRatio(filePaths, axesRatio)

Parameters

  1. filePathListstring
    String list with geometry files, separated with ";" (also after the last entry).
  2. filePathsstring[]
    String array with image files.
  3. axexRatioselector
    { xy | xz | yx | yz | zx | zy }— Defines which scope axes ratio is used as a reference.

Returns

A string list or string array with all files in the input filePathList/filePaths, sorted in order how good they match the reference ratio (first is best, last is worst).

Description

The imagesSortRatio function looks at all image files in the input filePathList/filePaths and sorts them depending on their ratio relative to the ratio of the two scope axes defined by axexRatio.

Related