bb

NAME

bb - get the bounding box of point, line, triangle or scalar clouds

SYNOPSIS

bb [-l|--line] [-s|--scalar] [-p INT|--precision INT] [-v|--verbose] [-?|-h|--help]

DESCRIPTION

bb give the minimum, maximum and average value for each coordinate of a point, line, triangle or scalar cloud. It takes its input from the standard input and returns the result to the standard output. By default, only values are returned (on one line, separated by space characters): use the --verbose option to check in which order the values are returned. The option --invert may be used if the clouds have to be normalized. For triangle clouds, trisize may be more appropriate.

OPTIONS

-l,--line

for line clouds with 2 points on each line of the file

-s,--scalar

for scalar clouds with one value on each line of the file

-i,--invert

do not return the values but the inverse of the values (1/val): useful for scaling or normalisation

-v,--verbose

names the returned values

-p INTEGER, --precision INTEGER

number of decimals (default: 6)

-h,--help,-?

Refer to the manual page

AUTHORS

Written by Pierre Smars (first version: 2024)

BUGS

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

COPYRIGHT

Copyright (C) 2024 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_pt(1), view_li(1), view_tri(1), trisize(1), scale(1), awk(1)

Pierre SMARS (tools, home page)