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