INP
An OBJ triangle mesh in any format readable by TINY_OBJLOADER.
OUT
A text file specifying the average 3D vertex position as well as the 3D plane
normal. The output format is of the form displayed in the following example:
average=(1.2 3.4 5.6) normal=(0.2 -0.1 -0.8)
DECIMATION
Defines the decimation value for the vertices. A value of '1' processes all
vertices, '10' every tenth, and so on. See method section for detailed
information.
ALGO
Defines the algorithm to use. Choosing "regression" computes 'z' as a function of
'x' and 'y', which is fast but can lead to inaccuracies for non-planar data. On
the other hand, "svd" does not make any assumptions about the input data, but is
significantly slower than regression for big data.