select_tri - selects triangles from a triangle cloud associated whith scalars according to a given threshold.
select_tri [-t double|--threshold double] [-c|--cell] [-i|--invert] [-p INT|--precision INT] [-?|-h|--help] FILE
select_tri selects the triangles of a triangle cloud with a scalar value smaller (or bigger: option --invert) than a given threshold (option --threshold). The scalar values are read from FILE and the triangle cloud from the standard input. The scalars can be associated with the points (default: number of scalars = number op points) or with the triangles (option --cell: number of scalars = number of triangles). The resulting triangle cloud is returned to the standard output. Use in conjuction with carve_pt(1) (option --select) to select triangles in or outside a box. Use in conjunction with tri2string(1) and GNU Octave or a similar program to define complex filters.
Format of the scalar file:
only triangles associated with scalars smaller (or bigger: option --invert) than DOUBLE will be output (default: 1.)
the scalars are associated with the triangle (and not with the points).
inverts the selection. Only triangles associated with scalars bigger than the threshold value will be output.
number of decimals (default: 6)
Returns the manual page
Written by Pierre Smars (first version: 2011)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2016-2020 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.
select_pt(1), carve_pt(1), view_tri(1), tri2string(1), pt2string(1)