Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
pathutil.h File Reference
#include "pathplan.h"
#include <stdbool.h>
Include dependency graph for pathutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PATHUTIL_API   /* nothing */
 

Typedefs

typedef double COORD
 

Functions

PATHUTIL_API COORD area2 (Ppoint_t, Ppoint_t, Ppoint_t)
 
PATHUTIL_API int wind (Ppoint_t a, Ppoint_t b, Ppoint_t c)
 
PATHUTIL_API COORD dist2 (Ppoint_t, Ppoint_t)
 
PATHUTIL_API bool in_poly (Ppoly_t argpoly, Ppoint_t q)
 

Macro Definition Documentation

◆ PATHUTIL_API

#define PATHUTIL_API   /* nothing */

Definition at line 29 of file pathutil.h.

Typedef Documentation

◆ COORD

typedef double COORD

Definition at line 31 of file pathutil.h.

Function Documentation

◆ area2()

PATHUTIL_API COORD area2 ( Ppoint_t  a,
Ppoint_t  b,
Ppoint_t  c 
)

Definition at line 44 of file visibility.c.

References Pxy_t::x, and Pxy_t::y.

Referenced by inCone(), make_CW(), and make_map_internal().

Here is the caller graph for this function:

◆ dist2()

PATHUTIL_API COORD dist2 ( Ppoint_t  a,
Ppoint_t  b 
)

Definition at line 120 of file visibility.c.

References Pxy_t::x, and Pxy_t::y.

Referenced by applyAttr(), cmpf(), dist(), doNeighbor(), doRep(), doRep(), edge_compatibility(), edge_compatibility_full(), and overlap().

Here is the caller graph for this function:

◆ in_poly()

PATHUTIL_API bool in_poly ( Ppoly_t  argpoly,
Ppoint_t  q 
)

Definition at line 24 of file inpoly.c.

References wind().

Referenced by findInside(), makeSpline(), polyhit(), and vgpanecmd().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wind()

PATHUTIL_API int wind ( Ppoint_t  a,
Ppoint_t  b,
Ppoint_t  c 
)

Definition at line 53 of file visibility.c.

References Pxy_t::x, and Pxy_t::y.

Referenced by in_cone(), in_poly(), intersect(), mkCtrlPts(), and raySeg().

Here is the caller graph for this function: