clip(1)

NAME

clip - Clip an OOGL object against planes or other sur
faces

SYNOPSIS

clip [-v axisx,y,z,...]
[-g value-or-point] [-l value-or-point] [-s nstrips[,fraction]] [-e] [-sph centerx,y,z,...] [-cyl centerx,y,z,...] [ooglfile]

DESCRIPTION

Arrayless than some given value, or the portion lying between two values. Alternatively, an object can be sliced into equally-spaced
strips. Objects may be of any dimension (but see the BUGS section).
Options are:

-g value-or-point

Arrayobject. If -g or -l clipping options are specified, the object
is clipped before determining the function range. If none of the
object remains, clip prints "0 0".

EXAMPLES

Arraysecond), say the planes 2x + y -.5z = 1 and y + 2z = 0:
echo "{ LIST"
clip -v 2,1,-.5 -g 1 file.oogl | clip -v 0,1,2 -l 0
clip -v 2,1,-.5 -l 1 file.oogl | clip -v 0,1,2 -g 0
echo "}"
We use pipelines to compute intersections, and a LIST to
form their union.

SEE ALSO

ginsu(1)

BUGS

Arraysome polygon, clip misses it entirely. Clipping against a curved
surface yields a straight edge (a chord of the ideal curved edge
segment). This latter failing might be fixed someday.
Geometry Center 23 November 1994

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout