Classes | Macros | 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
 

Macros

#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)
 

Macro Definition 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 1148 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 1829 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 1189 of file gpc.cpp.

void gpc_polygon_to_tristrip ( gpc_polygon polygon,
gpc_tristrip tristrip 
)

Definition at line 1838 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 1849 of file gpc.cpp.

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

Definition at line 1130 of file gpc.cpp.



octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Wed Jun 5 2019 19:26:39