cut_pt - cut a point cloud using a plane.
cut_pt [-?|-h|--help] [-s DOUBLE|--section DOUBLE] [-i|--inverse] [-f|--flat] x1 y1 z1 x2 y2 z2 x3 y3 z3
or
cut_pt [-?|-h|--help] [-s DOUBLE|--section DOUBLE] [-i|--inverse] [-f|--flat] FILE
cut_pt cuts a point cloud using a plane defined by 3 points. Those 3 points can be read from the argument line x1 y1 ... (1st option) or from a FILE (second option, format explained below). The input point cloud is read from the standard input and the result is returned to the standard output. If the option --flat is chosen, the points are projected on the plane. If the option --section is chosen, a section is made through the cloud (only keeping points closer to the plane than a given threshold). Without the option --section, the program eliminates the points on the side of the cutting plane pointed by the vector (p2-p1)x(p3-p1) or the points on the other side with the option --inverse.
Returns the manual page.
Projects the selected points on the cutting plane.
Inverse the side of selection. Not used if -s is chosen.
Make a section, only keeping points closer than the threshold value defined by DOUBLE on the cutting plane.
Written by Pierre Smars (first version: 2008)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 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.
cut_tri(1), view_pt(1)