The package SurfaceClip.m contains the function ClipGraphics that clips one surface by another. ClipGraphics takes three arguments. The first argument is a Graphics object, a SurfaceGraphics object, a Graphics3D object, or a list of these. SurfaceGraphics objects are converted to Graphics3D objects before clipping. The second argument is a clipping function or list of clipping functions, and the third argument is a variable list. The variable list matches variables with coordinates. The variable list indicates that the variable refers to the first coordinate, the variable refers to the second, and the variable to the third. In addition to polygons, ClipGraphics clips lines and points as well.
Copyright © 2002 Wolfram Media, Inc. All rights reserved.