resample_tri - alters the number of points in a triangle cloud
resample_tri [-f factor|--factor factor] [-l|--linear] [-p INT|--precision INT] [-?|-h|--help]
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.
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)
linear interpolation: flat surfaces remain flat. Option only used when the cloud is expanded.
number of decimals (default: 6)
Returns the manual page
Written by Pierre Smars (first version: 2002)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
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.
resample_pt(1), view_tri(1)