Graphviz  2.29.20120524.0446
Data Structures | Defines | Typedefs | Functions
lib/pathplan/triang.c File Reference
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <setjmp.h>
#include "pathutil.h"
#include "tri.h"
Include dependency graph for triang.c:

Go to the source code of this file.

Data Structures

struct  lvertex_2_t
struct  dpd_triangle

Defines

#define ISCCW   1
#define ISCW   2
#define ISON   3
#define TRUE   1
#define FALSE   0

Typedefs

typedef struct lvertex_2_t lvertex_2_t
typedef struct dpd_triangle ltriangle_t

Functions

int Ptriangulate (Ppoly_t *polygon, void(*fn)(void *, Ppoint_t *), void *vc)

Define Documentation

#define FALSE   0

Definition at line 40 of file triang.c.

#define ISCCW   1

Definition at line 34 of file triang.c.

#define ISCW   2

Definition at line 35 of file triang.c.

#define ISON   3

Definition at line 36 of file triang.c.

#define TRUE   1

Definition at line 39 of file triang.c.


Typedef Documentation

typedef struct dpd_triangle ltriangle_t
typedef struct lvertex_2_t lvertex_2_t

Function Documentation

int Ptriangulate ( Ppoly_t polygon,
void(*)(void *, Ppoint_t *)  fn,
void *  vc 
)

Definition at line 62 of file triang.c.

References Ppoly_t::pn, malloc(), Ppoly_t::ps, and free().