select_pt

NAME

select_pt - selects points from a point cloud associated with scalar values smaller/bigger than a given threshold.

SYNOPSIS

select_pt [-t double|--threshold double] [-i|--invert] [-?|-h|--help] FILE

DESCRIPTION

select_pt selects the points of a point cloud with a scalar value smaller (or bigger) than a given threshold. The scalar values are read from FILE and the point cloud from the standard input (the number of points and scalar values must be equal). The resulting point cloud is returned to the standard output. Used in conjunction with pt2string(1) and GNU Octave or a similar program, complex filters can be defined.

DATA FORMAT

Format of the scalar file:

> number_of_points
> s1
> s2
> ...
> sn

OPTIONS

-t DOUBLE, --threshold DOUBLE

only points associated with scalars smaller than value will be output (default: 1.)

-i, --invert

selects points with a scalar value BIGGER than a given threshold.

-h, --help, -?

Refer to the manual page

AUTHORS

Written by Pierre Smars (first version: 2011)

BUGS

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

COPYRIGHT

Copyright (C) 2013-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.

SEE ALSO

carve_pt(1), select_tri(1), pt2string(1), view_pt(1)

Pierre SMARS (tools, home page)