ReactOS 0.4.16-dev-401-g45b008d
|
#include "gluos.h"
#include "zlassert.h"
#include "monoChain.h"
#include "quicksort.h"
#include "searchTree.h"
#include "polyUtil.h"
Go to the source code of this file.
Macros | |
#define | max(a, b) ((a>b)? a:b) |
#define | min(a, b) ((a>b)? b:a) |
Functions | |
Int | isCusp (directedLine *v) |
Int | deleteRepeatDiagonals (Int num_diagonals, directedLine **diagonal_vertices, directedLine **new_vertices) |
Real | intersectHoriz (Real x1, Real y1, Real x2, Real y2, Real y) |
static int | compChainHeadInY (monoChain *mc1, monoChain *mc2) |
monoChain * | directedLineLoopToMonoChainLoop (directedLine *loop) |
monoChain * | directedLineLoopListToMonoChainLoopList (directedLine *list) |
static Int | compEdges (directedLine *e1, directedLine *e2) |
Int | compChains (monoChain *mc1, monoChain *mc2) |
Int | MC_sweepY (Int nVertices, monoChain **sortedVertices, sweepRange **ret_ranges) |
void | MC_findDiagonals (Int total_num_edges, monoChain **sortedVertices, sweepRange **ranges, Int &num_diagonals, directedLine **diagonal_vertices) |
directedLine * | MC_partitionY (directedLine *polygons, sampledLine **retSampledLines) |
Definition at line 55 of file monoChain.cc.
Definition at line 376 of file monoChain.cc.
Referenced by MC_sweepY().
|
static |
Definition at line 296 of file monoChain.cc.
Referenced by compChains(), and MC_findDiagonals().
Int deleteRepeatDiagonals | ( | Int | num_diagonals, |
directedLine ** | diagonal_vertices, | ||
directedLine ** | new_vertices | ||
) |
Definition at line 386 of file partitionY.cc.
Referenced by DBGfindDiagonals(), MC_partitionY(), and partitionY().
monoChain * directedLineLoopListToMonoChainLoopList | ( | directedLine * | list | ) |
Definition at line 273 of file monoChain.cc.
Referenced by MC_partitionY().
monoChain * directedLineLoopToMonoChainLoop | ( | directedLine * | loop | ) |
Definition at line 232 of file monoChain.cc.
Referenced by directedLineLoopListToMonoChainLoopList().
Definition at line 79 of file monoChain.cc.
Referenced by monoChain::chainIntersectHoriz(), and compEdges().
Int isCusp | ( | directedLine * | v | ) |
Definition at line 100 of file partitionY.cc.
Referenced by cuspType(), and directedLineLoopToMonoChainLoop().
void MC_findDiagonals | ( | Int | total_num_edges, |
monoChain ** | sortedVertices, | ||
sweepRange ** | ranges, | ||
Int & | num_diagonals, | ||
directedLine ** | diagonal_vertices | ||
) |
Definition at line 567 of file monoChain.cc.
Referenced by MC_partitionY().
directedLine * MC_partitionY | ( | directedLine * | polygons, |
sampledLine ** | retSampledLines | ||
) |
Definition at line 647 of file monoChain.cc.
Referenced by Subdivider::drawSurfaces().
Int MC_sweepY | ( | Int | nVertices, |
monoChain ** | sortedVertices, | ||
sweepRange ** | ret_ranges | ||
) |
Definition at line 451 of file monoChain.cc.
Referenced by MC_partitionY().