Geomview For Windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GeomFLoad does exactly that. The syntax is just: Geom *g; g = GeomFLoad(filepointer, "filename"); The first arguement is the file pointer (eg stdin), the second may be a char * to the name of the file. This string is used only in error messages; it's ok to leave it NULL. A lot of external modules use this; pssnap is the first example I can think of (look in pssnap.main.c [in /u/gcg/ngrap/src/bin/pssnap/sgi or in the tar file in the ftp directory]). I wrote a program called warp which performs R^3 to R^3 mappings. It includes a library called pointlist which allows you to get and modify the list of points in an OOGL object without worrying about what kind of an object it is. I'll try to get warp (& pointlist) in the ftp directory by Wednesday, or you can look in /u/gcg/ngrap/src/lib/pointlist. There's also a man page for it in /u/gcg/ngrap/man/man3/pointlist.3 Warp itself will not work except under geomview 1.3, but the pointlist stuff should work with any version. -Celeste Celeste Fowler email: fowler at geom.umn.edu The Geometry Center phone: ((555) 555-5555 1300 South Second Street Minneapolis, MN 55454
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
site hosted by