Classes | Defines | Enumerations | Functions
core/vgl/internals/gpc.h File Reference
#include <stdio.h>

Go to the source code of this file.

Classes

struct  gpc_vertex
struct  gpc_vertex_list
struct  gpc_polygon
struct  gpc_tristrip

Defines

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

Enumerations

enum  gpc_op { GPC_DIFF, GPC_INT, GPC_XOR, GPC_UNION }

Functions

int gpc_polygon_clip (gpc_op set_operation, gpc_polygon *subject_polygon, gpc_polygon *clip_polygon, gpc_polygon *result_polygon)
void gpc_free_polygon (gpc_polygon *polygon)

Define Documentation

#define GPC_EPSILON   (DBL_EPSILON)

Definition at line 48 of file gpc.h.

#define GPC_VERSION   "2.32"

Definition at line 50 of file gpc.h.


Enumeration Type Documentation

enum gpc_op
Enumerator:
GPC_DIFF 
GPC_INT 
GPC_XOR 
GPC_UNION 

Definition at line 62 of file gpc.h.


Function Documentation

void gpc_free_polygon ( gpc_polygon polygon)
int gpc_polygon_clip ( gpc_op  set_operation,
gpc_polygon subject_polygon,
gpc_polygon clip_polygon,
gpc_polygon result_polygon 
)