NAME
Math::Geometry::GPC - Perl wrapper for Alan Murta's gpc library
SYNOPSIS
use Math::Geometry::GPC;
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.
Methods
The available methods are:
Helper functions to access integer arrays
Math::Geometry::GPC::int_array
Math::Geometry::GPC::int_destroy
Math::Geometry::GPC::int_set
Math::Geometry::GPC::int_get
Helper functions to access vertex arrays
Math::Geometry::GPC::gpc_vertex_array
Math::Geometry::GPC::gpc_vertex_destroy
Math::Geometry::GPC::gpc_vertex_set
Math::Geometry::GPC::gpc_vertex_get
Helper functions to access vertex lists (arrays of vertex arrays)
Math::Geometry::GPC::gpc_vertex_list_array
Math::Geometry::GPC::gpc_vertex_list_destroy
Math::Geometry::GPC::gpc_vertex_list_set
Math::Geometry::GPC::gpc_vertex_list_get
vertex structure functions
Math::Geometry::GPC::gpc_vertex_x_set
Math::Geometry::GPC::gpc_vertex_x_get
Math::Geometry::GPC::gpc_vertex_y_set
Math::Geometry::GPC::gpc_vertex_y_get
Math::Geometry::GPC::new_gpc_vertex
Math::Geometry::GPC::delete_gpc_vertex
vertex list structure functions
Math::Geometry::GPC::gpc_vertex_list_num_vertices_set
Math::Geometry::GPC::gpc_vertex_list_num_vertices_get
Math::Geometry::GPC::gpc_vertex_list_vertex_set
Math::Geometry::GPC::gpc_vertex_list_vertex_get
Math::Geometry::GPC::new_gpc_vertex_list
Math::Geometry::GPC::delete_gpc_vertex_list
polygon structure functions
Math::Geometry::GPC::gpc_polygon_num_contours_set
Math::Geometry::GPC::gpc_polygon_num_contours_get
Math::Geometry::GPC::gpc_polygon_hole_set
Math::Geometry::GPC::gpc_polygon_hole_get
Math::Geometry::GPC::gpc_polygon_contour_set
Math::Geometry::GPC::gpc_polygon_contour_get
Math::Geometry::GPC::new_gpc_polygon
Math::Geometry::GPC::delete_gpc_polygon
tristrip structure functions
Math::Geometry::GPC::gpc_tristrip_num_strips_set
Math::Geometry::GPC::gpc_tristrip_num_strips_get
Math::Geometry::GPC::gpc_tristrip_strip_set
Math::Geometry::GPC::gpc_tristrip_strip_get
Math::Geometry::GPC::new_gpc_tristrip
Math::Geometry::GPC::delete_gpc_tristrip
gpc routines
Math::Geometry::GPC::gpc_read_polygon
Math::Geometry::GPC::gpc_write_polygon
Math::Geometry::GPC::gpc_add_contour
Math::Geometry::GPC::gpc_polygon_clip
Math::Geometry::GPC::gpc_tristrip_clip
Math::Geometry::GPC::gpc_polygon_to_tristrip
Math::Geometry::GPC::gpc_free_polygon
Math::Geometry::GPC::gpc_free_tristrip