TRITRANS

Use this to transform a nominated triangulation using matrices in a given Transformation Matrices file ( .env_tran ).


Usage:

tritrans <spec_file> <spec_name> <tri_file> [out_tri_file]
<> indicates a mandatory switch.
[ ] indicates an optional switch


Where:

Option

Description

<spec_file>

Refers to the name of the specification file that contains the matrices.

<spec_name>

Refers to the name of the specification to be used.

<tri_file>

Refers to the name of the triangulation to be transformed.

[out_tri_file]

Refers to the name of the triangulation that will store the results. If an extension is not specified for the output triangulation, then the '.00t' file extension will be used by default. If a triangulation name is not specified, then the results will be written to the source triangulation, i.e. the program will overwrite the source triangulation.


Examples:

tritrans thor.env_tran unity tri_in.00t tri_out.00t

tritrans thor.env_tran double tri_in.00t tri_out.00t

The specification file used in the above examples:

Begin$file

Begin$def unity

Begin$tab matrix

1.000 0.000 0.000 0.000

0.000 1.000 0.000 0.000

0.000 0.000 1.000 0.000

0.000 0.000 0.000 1.000

end$tab matrix

end$def unity

begin$def double

Begin$tab matrix

2.000 0.000 0.000 0.000

0.000 2.000 0.000 0.000

0.000 0.000 2.000 0.000

0.000 0.000 0.000 2.000

end$tab matrix

end$def double

end$file