Polygon operations?

Sudheer Apte sa1z+ at andrew.cmu.edu
Thu Jan 10 10:21:57 AEST 1991


Hi,

I need (pointers to) a geometric modeller or other program that can do
general 2-d polygon intersections, differences, additions, etc. based
on any representation (it doesn't have to be able to display the
polygons---I am willing to take real number coordinates and display
them myself).  This is needed for an application being written in C,
so I would really appreciate C routines that can do this.

Ideally, I would like the modeller to have function calls like:

	polylist add_poly (polylist a, polylist b);

where the type "polylist" is a data structure for a list of polygons
suitably defined in terms of arrays of coordinates, etc.

In full generality, polygonal intersection and similar operations are
not trivial to implement, so I'd rather not do it if it has already
been done properly.

Thanks in advance for pointers and suggestions.  If there is interest,
I will summarize.  If there is a more appropriate newsgroup than
comp.graphics and comp.lang.c, please let me know.

Thanks,

	Sudheer.
------------------
...{uunet|harvard}!andrew.cmu.edu!sa1z
...sa1z%andrew at CARNEGIE.BITNET



More information about the Comp.lang.c mailing list