I'm looking for a C version of a polygon clipper (2D is OK).
Are the sources listed in "Graphics Gems" edited by Andrew Glassner
available somewhere by ftp?
I'm looking for a C version of a polygon clipper (2D is OK).
Are the sources listed in "Graphics Gems" edited by Andrew Glassner
available somewhere by ftp?
From the FAQ:Quote:>I'm looking for a C version of a polygon clipper (2D is OK).
>Are the sources listed in "Graphics Gems" edited by Andrew Glassner
>available somewhere by ftp?
All C code from the "Graphics Gems" series is available via anonymous ftp
from princeton.edu. Look in the directory pub/Graphics/GraphicsGems for
the various volumes (Gems, GemsII, GemsIII), and get the README file first.
spl
--
UCSD Microscopy and Imaging Resource/UCSD Med School/La Jolla, CA 92093-0608
"The English are drinking the better beer in Bavaria."
- Archibald Macleish, "Lines for an Interment"
1. ANNOUNCE: General Polygon Clipper Library
This is a periodic announcement of the availability of the GPC General
Polygon Clipper Library. It's free for non-commercial use; and there are
simple licensing terms for inclusion in a commercial product.
For details please see:
http://www.cs.man.ac.uk/aig/staff/alan/software/
GPC is a flexible and highly robust polygon set operations library for use
with C applications, as referenced in the comp.graphics.algorithms FAQ and
the UIUC Computational Geometry Pages. The gpc library is estimated to have
thousands of users worldwide, and is subject to several hundred downloads
each month.
This software is free for non-commercial use. Anyone wishing to use the gpc
GPC Features
============
- Difference, intersection, exclusive-or and union clip operations are
supported.
- Polygons may be comprised of multiple disjoint contours.
- Contour vertices may be given in any order - clockwise or anticlockwise.
- Contours may be convex, concave or self-intersecting.
- Contours may be nested (i.e. polygons may have holes).
- Output may take the form of either polygon contours or tristrips.
- Hole and external contours are differentiated in the result.
- Coincident edges and degenerate regions are handled correctly.
--
--------------------------------------------------------------
Toby Howard Lecturer, Computer Science 3rd Year Tutor
Tel: +44(0)161-275-6274 Fax: +44(0)161-275-6204
Advanced Interfaces Group, Department of Computer Science
University of Manchester, Oxford Road, Manchester, M13 9PL, UK
--------------------------------------------------------------
2. OpenGL and Macromedia Director
3. ANNOUNCE: General Polygon Clipper library
5. Weiler-Atherton polygon clipper
6. PLEASE JPEG PC files to Mac
7. Weiler-Atherton Polygon Clipper??
10. Two pass polygon clipper source for download.
11. Liang-Barsky 2D polygon clipper ; beginner problem
12. ANNOUNCE: General Polygon Clipper Library
13. ANNOUNCE: General Polygon Clipper library