Classes | Defines | Enumerations | Functions
gpc.h File Reference
#include <stdio.h>
Include dependency graph for gpc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gpc_polygon
struct  gpc_tristrip
struct  gpc_vertex
struct  gpc_vertex_list

Defines

#define GPC_EPSILON   (DBL_EPSILON)
#define GPC_VERSION   "2.32"

Enumerations

enum  gpc_op { GPC_DIFF, GPC_INT, GPC_XOR, GPC_UNION }

Functions

void gpc_add_contour (gpc_polygon *polygon, gpc_vertex_list *contour, int hole)
void gpc_free_polygon (gpc_polygon *polygon)
void gpc_free_tristrip (gpc_tristrip *tristrip)
void gpc_polygon_clip (gpc_op set_operation, gpc_polygon *subject_polygon, gpc_polygon *clip_polygon, gpc_polygon *result_polygon)
void gpc_polygon_to_tristrip (gpc_polygon *polygon, gpc_tristrip *tristrip)
void gpc_read_polygon (FILE *infile_ptr, int read_hole_flags, gpc_polygon *polygon)
void gpc_tristrip_clip (gpc_op set_operation, gpc_polygon *subject_polygon, gpc_polygon *clip_polygon, gpc_tristrip *result_tristrip)
void gpc_write_polygon (FILE *outfile_ptr, int write_hole_flags, gpc_polygon *polygon)

Define Documentation

#define GPC_EPSILON   (DBL_EPSILON)

Definition at line 47 of file gpc.h.

#define GPC_VERSION   "2.32"

Definition at line 49 of file gpc.h.


Enumeration Type Documentation

enum gpc_op
Enumerator:
GPC_DIFF 
GPC_INT 
GPC_XOR 
GPC_UNION 

Definition at line 58 of file gpc.h.


Function Documentation

void gpc_add_contour ( gpc_polygon polygon,
gpc_vertex_list contour,
int  hole 
)

Definition at line 1077 of file gpc.c.

void gpc_free_polygon ( gpc_polygon polygon)

Definition at line 1018 of file gpc.c.

void gpc_free_tristrip ( gpc_tristrip tristrip)

Definition at line 1755 of file gpc.c.

void gpc_polygon_clip ( gpc_op  set_operation,
gpc_polygon subject_polygon,
gpc_polygon clip_polygon,
gpc_polygon result_polygon 
)

Definition at line 1117 of file gpc.c.

void gpc_polygon_to_tristrip ( gpc_polygon polygon,
gpc_tristrip tristrip 
)

Definition at line 1766 of file gpc.c.

void gpc_read_polygon ( FILE *  infile_ptr,
int  read_hole_flags,
gpc_polygon polygon 
)

Definition at line 1030 of file gpc.c.

void gpc_tristrip_clip ( gpc_op  set_operation,
gpc_polygon subject_polygon,
gpc_polygon clip_polygon,
gpc_tristrip result_tristrip 
)

Definition at line 1777 of file gpc.c.

void gpc_write_polygon ( FILE *  outfile_ptr,
int  write_hole_flags,
gpc_polygon polygon 
)

Definition at line 1057 of file gpc.c.



libgpc
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:02:04