# This file was automatically generated by SWIG package Math::Geometry::Planar::GPC; use vars qw($VERSION); $VERSION = '1.04'; =pod =head1 NAME Math::Geometry::Planar::GPC - Perl wrapper for Alan Murta's gpc library =head1 SYNOPSIS use Math::Geometry::Planar::GPC; =head1 Description This module is just a wrapper around the gpc C library written by Alan Murta gpc: General Polygon Clipping library (C) 1997-1999, Advanced Interfaces Group, University of Manchester. Please refer to the gpc manual for more details on gpc. =head1 Methods The available methods are: =head2 Helper functions to access integer arrays =over 4 =item * Math::Geometry::Planar::GPC::int_array =item * Math::Geometry::Planar::GPC::int_destroy =item * Math::Geometry::Planar::GPC::int_set =item * Math::Geometry::Planar::GPC::int_get =back =head2 Helper functions to access vertex arrays =over 4 =item * Math::Geometry::Planar::GPC::gpc_vertex_array =item * Math::Geometry::Planar::GPC::gpc_vertex_destroy =item * Math::Geometry::Planar::GPC::gpc_vertex_set =item * Math::Geometry::Planar::GPC::gpc_vertex_get =back =head2 Helper functions to access vertex lists (arrays of vertex arrays) =over 4 =item * Math::Geometry::Planar::GPC::gpc_vertex_list_array =item * Math::Geometry::Planar::GPC::gpc_vertex_list_destroy =item * Math::Geometry::Planar::GPC::gpc_vertex_list_set =item * Math::Geometry::Planar::GPC::gpc_vertex_list_get =back =head2 vertex structure functions =over 4 =item * Math::Geometry::Planar::GPC::gpc_vertex_x_set =item * Math::Geometry::Planar::GPC::gpc_vertex_x_get =item * Math::Geometry::Planar::GPC::gpc_vertex_y_set =item * Math::Geometry::Planar::GPC::gpc_vertex_y_get =item * Math::Geometry::Planar::GPC::new_gpc_vertex =item * Math::Geometry::Planar::GPC::delete_gpc_vertex =back =head2 vertex list structure functions =over 4 =item * Math::Geometry::Planar::GPC::gpc_vertex_list_num_vertices_set =item * Math::Geometry::Planar::GPC::gpc_vertex_list_num_vertices_get =item * Math::Geometry::Planar::GPC::gpc_vertex_list_vertex_set =item * Math::Geometry::Planar::GPC::gpc_vertex_list_vertex_get =item * Math::Geometry::Planar::GPC::new_gpc_vertex_list =item * Math::Geometry::Planar::GPC::delete_gpc_vertex_list =back =head2 polygon structure functions =over 4 =item * Math::Geometry::Planar::GPC::gpc_polygon_num_contours_set =item * Math::Geometry::Planar::GPC::gpc_polygon_num_contours_get =item * Math::Geometry::Planar::GPC::gpc_polygon_hole_set =item * Math::Geometry::Planar::GPC::gpc_polygon_hole_get =item * Math::Geometry::Planar::GPC::gpc_polygon_contour_set =item * Math::Geometry::Planar::GPC::gpc_polygon_contour_get =item * Math::Geometry::Planar::GPC::new_gpc_polygon =item * Math::Geometry::Planar::GPC::delete_gpc_polygon =back =head2 tristrip structure functions =over 4 =item * Math::Geometry::Planar::GPC::gpc_tristrip_num_strips_set =item * Math::Geometry::Planar::GPC::gpc_tristrip_num_strips_get =item * Math::Geometry::Planar::GPC::gpc_tristrip_strip_set =item * Math::Geometry::Planar::GPC::gpc_tristrip_strip_get =item * Math::Geometry::Planar::GPC::new_gpc_tristrip =item * Math::Geometry::Planar::GPC::delete_gpc_tristrip =back =head2 gpc routines =over 4 =item * Math::Geometry::Planar::GPC::gpc_read_polygon =item * Math::Geometry::Planar::GPC::gpc_write_polygon =item * Math::Geometry::Planar::GPC::gpc_add_contour =item * Math::Geometry::Planar::GPC::gpc_polygon_clip =item * Math::Geometry::Planar::GPC::gpc_tristrip_clip =item * Math::Geometry::Planar::GPC::gpc_polygon_to_tristrip =item * Math::Geometry::Planar::GPC::gpc_free_polygon =item * Math::Geometry::Planar::GPC::gpc_free_tristrip =back =cut require Exporter; require DynaLoader; @ISA = qw(Exporter DynaLoader); package Math::Geometry::Planar::GPC; bootstrap Math::Geometry::Planar::GPC; package Math::Geometry::Planar::GPC; @EXPORT = qw( ); 1;