section of routines in slicenew.i

functions in slicenew.i -

 
 
 
nuslice2


             slice2, plane, tris  
 
     Slice an array of triangles, retaining only those triangles or  
     parts of triangles on the positive side of PLANE, that is,  
     the side where xyz(+)*PLANE(+:1:3)-PLANE(4) > 0.0.  
     In order to plot two intersecting slices, one could  
     slice (for example) the horizontal plane twice (slice2x) -  
     first with the plane of the vertical slice, then with minus  
     that same plane.  Then, plot first the back part of the  
     slice, then the vertical slice, then the front part of the  
     horizontal slice.  Of course, the vertical plane could  
     be the one to be sliced, and "back" and "front" vary  
     depending on the view point, but the general idea always  
     works.  
SEE ALSO: slice2x,   slice2_precision  
 
 
 
nuslice2x


             slice2, plane, tris  
 
     Slice a polygon list, retaining only those triangles or  
     parts of triangles on the positive side of PLANE, that is,  
     the side where xyz(+)*PLANE(+:1:3)-PLANE(4) > 0.0.  
SEE ALSO: slice2,   slice2_precision  
 
 
 
slice2_precision


             slice2_precision= precision  
 
     Controls how slice2 (or slice2x) handles points very close to  
     the slicing plane.  PRECISION should be a positive number or zero.  
     Zero PRECISION means to clip exactly to the plane, with points  
     exactly on the plane acting as if they were slightly on the side  
     the normal points toward.  Positive PRECISION means that edges  
     are clipped to parallel planes a distance PRECISION on either  
     side of the given plane.  (Polygons lying entirely between these  
     planes are completely discarded.)  
     Default value is 0.0.  
SEE ALSO: slice2,   slice2x  
 
 
 
slice2only


             slice2, plane, tris  
 
     Slice an array of triangles, retaining only those triangles or  
     parts of triangles on the positive side of PLANE, that is,  
     the side where xyz(+)*PLANE(+:1:3)-PLANE(4) > 0.0.  
     In order to plot two intersecting slices, one could  
     slice (for example) the horizontal plane twice (slice2x) -  
     first with the plane of the vertical slice, then with minus  
     that same plane.  
SEE ALSO: slice2x,   slice2_precision