resample_tri

NAME

resample_tri - alters the number of points in a triangle cloud

SYNOPSIS

resample_tri [-f factor|--factor factor] [-l|--linear] [-p INT|--precision INT] [-?|-h|--help]

DESCRIPTION

resample_tri is used to reduce or increase the number of triangles in a cloud. Option --factor is used to specify the relative size of the new cloud (in %). A factor of 20 indicates for instance that the cloud will be approximately 5 times smaller and a factor of 400 that it will be 4 times bigger. The program takes its input from the standard input and returns the result to the standard output.

OPTIONS

-f DOUBLE, --factor DOUBLE

to decrease size of cloud: percentage of points to preserve (0-100). to increase size of cloud: 400, 900... 100 x n^2 (any other number is rounded to the smaller value)

-l,--linear,-?

linear interpolation: flat surfaces remain flat. Option only used when the cloud is expanded.

-p INTEGER, --precision INTEGER

number of decimals (default: 6)

-h,--help,-?

Returns the manual page

AUTHORS

Written by Pierre Smars (first version: 2002)

BUGS

Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.

COPYRIGHT

Copyright (C) 2015 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

resample_pt(1), view_tri(1)

Pierre SMARS (tools, home page)