Skip to content

Command line parameters

Yunting edited this page Mar 24, 2021 · 2 revisions

The following list of command shows the command lines parameters for using the implemented features in the Terrain Trees library.

The same list can be obtained from the command line running the following command

./ia_terrain_analysis

USAGE:

.\ia_terrain_analysis [operation] [mesh_name]

      NOTA: the arguments order is fixed.

[operation]

      the operation argument can be vtall, all, meancurv, concurv, gcurv, mccurv, eslope, tslope, crit, rough, gradient, morse.

    vtall
       extracts all the VT relations of the input mesh (prints timings - no output).

    all
       extracts all the topological relations of the input mesh (prints timings - no output).

    meancurv
       computes the Mean Curvature for all the mesh vertices.

    concurv
       computes the Concentrated Curvature for all the mesh vertices.

    mccurv
       computes the Mean CCurvature for all the mesh vertices.

    gccurv
       computes the Gauss CCurvature for all the mesh vertices.

    quad
       extracts the dual quad mesh from the input mesh and saves it in off format.

    eslope
       computes the the slope values for each edge of the mesh.

    tslope
       computes the slope values for each triangle of the mesh.

    crit
       computes the critical points of the mesh.
    
    rough
       computes the roughness value for each vertex of the mesh.

    gradient
       computes a multi-field gradient value for each vertex of the mesh.
    
    morse
       computes the Forman gradient field and extract the critical network of the mesh.

[mesh_name]

      the mesh_name argument represents the triangular mesh (in .tri format).

EXAMPLE:

.\ia_terrain_analysis vtall mesh.tri

read as input file the mesh [mesh.tri] and the vt relations for all vertices.

Clone this wiki locally