The gpc polygon clipping library (v2.31) is available from:
http://www.cs.man.ac.uk/aig/staff/alan/software/index.html
It is written in C, and has the following 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.
Even if you don't require a polygon clipper you may find
gpc useful for:
* Triangulating (with tristrips) an arbitrary set of
polygon contours (self-intersecting, holes etc).
* Converting self-intersecting polygon contours to a
set of non-intersecting contours.
* Seamlessly merging polygons which share common edges.
* Performing a polygon-in-polygon test.
This software is free for non-commercial use. Anyone wishing to use the gpc library in support of a commercial product please email gpc@cs.man.ac.uk.
Alan Murta
-------------------------------------------------------------------
Alan Murta Computer Science Department, University of Manchester,
Lecturer Manchester, M13 9PL, UK. Tel: +44 (0)161-275-6259
E-mail: amurta@cs.man.ac.uk Fax: +44 (0)161-275-6236
World Wide Web: http://www.cs.man.ac.uk/aig/staff/alan -------------------------------------------------------------------
On Sunday, November 12, 2000 at 1:30:00 PM UTC+5:30, Toby Howard wrote:
The gpc polygon clipping library (v2.31) is available from:
You are aware that you are responding to almost 16 years old post?They have still NOT rectified the very serious error!.
On 10/07/16 10:45, maheshna...@gmail.com wrote:
On Sunday, November 12, 2000 at 1:30:00 PM UTC+5:30, Toby Howard wrote:
The gpc polygon clipping library (v2.31) is available from:
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 422 |
Nodes: | 16 (2 / 14) |
Uptime: | 183:24:55 |
Calls: | 8,946 |
Calls today: | 13 |
Files: | 13,352 |
Messages: | 5,991,289 |