|
Graphviz 14.1.3~dev.20260126.0926
|
point containers PointSet and PointMap More...
Go to the source code of this file.
Typedefs | |
| typedef Dict_t | PointSet |
| set of pointf. Created by newPS | |
| typedef Dict_t | PointMap |
| map of point. Created by newPM | |
Functions | |
| POINTSET_API PointSet * | newPS (void) |
| POINTSET_API void | freePS (PointSet *) |
| POINTSET_API void | insertPS (PointSet *, pointf) |
| POINTSET_API void | addPS (PointSet *, double x, double y) |
| POINTSET_API int | inPS (PointSet *, pointf) |
| POINTSET_API int | isInPS (PointSet *, double x, double y) |
| POINTSET_API int | sizeOf (PointSet *) |
| POINTSET_API pointf * | pointsOf (PointSet *) |
| POINTSET_API PointMap * | newPM (void) |
| POINTSET_API void | clearPM (PointMap *) |
| POINTSET_API void | freePM (PointMap *) |
| POINTSET_API int | insertPM (PointMap *, int x, int y, int value) |
Definition at line 27 of file pointset.h.
Definition at line 26 of file pointset.h.
| POINTSET_API void addPS | ( | PointSet * | ps, |
| double | x, | ||
| double | y | ||
| ) |
Definition at line 88 of file pointset.c.
References dtinsert, free(), mkPair(), and pointf_s::x.
Referenced by fillLine(), findCol(), genBox(), genPoly(), and orthoEdges().
| POINTSET_API void clearPM | ( | PointMap * | ps | ) |
Definition at line 153 of file pointset.c.
References dtclear.
Referenced by makeGraphData().
| POINTSET_API void freePM | ( | PointMap * | ps | ) |
Definition at line 158 of file pointset.c.
References dtclose().
Referenced by makeGraphData().
| POINTSET_API void freePS | ( | PointSet * | ps | ) |
Definition at line 75 of file pointset.c.
References dtclose().
Referenced by genBox(), genPoly(), orthoEdges(), polyGraphs(), polyRects(), and processTbl().
| POINTSET_API int insertPM | ( | PointMap * | pm, |
| int | x, | ||
| int | y, | ||
| int | value | ||
| ) |
Definition at line 163 of file pointset.c.
References dtinsert, mpair::id, mpair::v, point::x, and point::y.
Referenced by checkEdge().
Definition at line 80 of file pointset.c.
References dtinsert, free(), and mkPair().
Referenced by fits(), and placeFixed().
| POINTSET_API int isInPS | ( | PointSet * | ps, |
| double | x, | ||
| double | y | ||
| ) |
Definition at line 101 of file pointset.c.
References inPS().
Referenced by findCol(), and orthoEdges().
| POINTSET_API PointMap * newPM | ( | void | ) |
Definition at line 148 of file pointset.c.
References dtopen(), Dtoset, and intMPairDisc.
Referenced by makeGraphData().
| POINTSET_API PointSet * newPS | ( | void | ) |
Definition at line 70 of file pointset.c.
References dtopen(), Dtoset, and intPairDisc.
Referenced by genBox(), genPoly(), orthoEdges(), polyGraphs(), polyRects(), and processTbl().
Definition at line 110 of file pointset.c.
References dtflatten(), dtlink, dtsize(), gv_calloc(), and pair::id.
Referenced by genBox(), and genPoly().