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   1e-7
#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   1e-7

Definition at line 92 of file gpc.h.

#define GPC_VERSION   "2.32"

Definition at line 94 of file gpc.h.


Enumeration Type Documentation

enum gpc_op
Enumerator:
GPC_DIFF 
GPC_INT 
GPC_XOR 
GPC_UNION 

Definition at line 103 of file gpc.h.


Function Documentation

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

Definition at line 1152 of file gpc.cpp.

void gpc_free_polygon ( gpc_polygon polygon)

Definition at line 1093 of file gpc.cpp.

void gpc_free_tristrip ( gpc_tristrip tristrip)

Definition at line 1832 of file gpc.cpp.

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

Definition at line 1192 of file gpc.cpp.

void gpc_polygon_to_tristrip ( gpc_polygon polygon,
gpc_tristrip tristrip 
)

Definition at line 1843 of file gpc.cpp.

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 
)

Definition at line 1854 of file gpc.cpp.

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

Definition at line 1132 of file gpc.cpp.



octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Thu Aug 27 2015 14:13:26