NAME Math::Geometry::Planar::GPC::Polygon - OO wrapper to gpc library Status Brand new and lightly tested. AUTHOR Eric L. Wilhelm ewilhelm at sbcglobal dot net http://pages.sbcglobal.net/mycroft/ Copyright Copyright 2004 Eric L. Wilhelm License This module and its C source code (functions.c) are freely redistributable under the GNU general public license (GPL). See http://www.gnu.org for details. The General Polygon Clipping library (gpc.c and gpc.h) is also distributed under the GPL license. A copy of these files has been included with this distribution strictly for convenience purposes. See gpc.c for details. Note that the C library is authored by Alan Murta. NO WARRANTY This code comes with ABSOLUTELY NO WARRANTY of any kind. Changes 0.01 - First public release. Constructors new Traditional constructor, returns a blessed reference to the underlying C struct. use Math::Geometry::Planar::GPC::Polygon; my $gpc = Math::Geometry::Planar::GPC::Polygon->new(); new_gpc An optionally imported constructor, for those of you who don't like to type so much. use Math::Geometry::Planar::GPC::Polygon qw(new_gpc); my $gpc = new_gpc(); Bound Functions These are the functions provide by the Inline-C code. Need to document these. Helper Functions Pure-perl implementation from here down. as_string $gpc->as_string();