|
|
1.1 ! root 1: .TH POLY 3 ! 2: .CT 2 graphics math ! 3: .SH NAME ! 4: poly_lk, poly_read \(mi polyhedron database routines ! 5: .SH SYNOPSIS ! 6: .nf ! 7: .B #include <poly.h> ! 8: .PP ! 9: .B int poly_lk(name) ! 10: .B char *name; ! 11: .PP ! 12: .B int poly_read(p, dir, n) ! 13: .B Polyhedron *p; ! 14: .B char *dir; ! 15: .fi ! 16: .SH DESCRIPTION ! 17: These routines access the ! 18: .IR poly (7) ! 19: database of polyhedra. ! 20: .PP ! 21: .I Poly_lk ! 22: tries to interpret ! 23: .I name ! 24: as a polyhedron reference. ! 25: If it is a number, it returns that number. ! 26: Otherwise, it returns the number of the first polyhedron ! 27: for which ! 28: .I name ! 29: is a prefix of the polyhedron's name. ! 30: .PP ! 31: .I Poly_read ! 32: forms an in-core description of the polyhedron number ! 33: .I n ! 34: in the directory ! 35: .IR dir . ! 36: If ! 37: .I dir ! 38: is 0, the normal directory ! 39: .RB ( /usr/lib/polyhedra ) ! 40: is used. ! 41: .SH "SEE ALSO" ! 42: .IR poly (5), ! 43: .IR poly (7) ! 44: .SH DIAGNOSTICS ! 45: .I Poly ! 46: returns \-1 on unknown names. ! 47: .PP ! 48: .I Poly_read ! 49: returns zero on success, ! 50: nonzero on error.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.