clip_tri

NAME

clip_tri - clip triangle clouds using a volume

SYNOPSIS

clip_tri [-?|-h|--help] [-i|--ivert] FILE

DESCRIPTION

clip_tri keep the triangles inside (or outside with option --invert) a volume defined by a volume (a tetrahedron cloud). The tetrahedron cloud is read from FILE; the input triangle cloud is read from the standard input and the result is returned to the standard output.

TETRAHEDRON FILE DATA FORMAT

> number_of_points
> x1 y1 z1
> x2 y2 z2
> ...
> xn yn zn
> number_of_tetrahedrons
> r11 r12 r13 r14
> r21 r22 r23 r24
> ...
> rn1 rn2 rn3 rn4
The rij make reference to the nodes defined in the first part of the file. The node references start from 0.

OPTIONS

-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

view_tri(1)

Pierre SMARS (tools, home page)