sortbyz

Section: C Library Functions (3)
Updated: June 17, 1992
Index Return to Main Contents
 

NAME

SortByZ - Returns a geom as a polylist with its polygons in increasing order by z value.  

SYNOPSIS

Geom *SortByZ(Geom *);  

DESCRIPTION

SortByZ() takes a geom as its argument. The geom is first converted to a polylist (See anytooff(3)). The polygons of the new polylist are sorted into increasing order by their lowest z value. If the lowest z values of the points of two polygons are equal, the highest z values are compared. SortByZ() then returns the new polylist.  

BUGS

SortByZ() calls AnyToOff() and so has all the same bugs.  

SEE ALSO

anytooff(3), polytops(1), polytops(3)  

AUTHOR

Celeste Fowler                  email:  fowler@geom.umn.edu
The Geometry Center             phone:  (612) 626-8304
1300 South Second Street
Minneapolis, MN  55454


 

Index

NAME
SYNOPSIS
DESCRIPTION
BUGS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 01:34:00 GMT, December 05, 2024