36 #include "directedLine.h"
37 #include "partitionY.h"
50 Real minX, maxX, minY, maxY;
61 inline void setNext(
monoChain* n) {next = n;}
62 inline void setPrev(
monoChain* p) {prev = p;}
63 inline void setNextPolygon(
monoChain* np) {nextPolygon = np;}
64 inline monoChain* getNext() {
return next;}
65 inline monoChain* getPrev() {
return prev;}
69 inline void resetCurrent() { current = ((isIncrease==1)? chainHead:chainTail);}
72 void deleteLoopList();
77 Int numChainsSingleLoop();
78 Int numChainsAllLoops();
79 monoChain** toArrayAllLoops(Int& num_chains);
80 Int toArraySingleLoop(
monoChain** array, Int index);
84 Real chainIntersectHoriz(Real y);
88 void printChainLoop();
97 void MC_findDiagonals(Int total_num_edges,
monoChain** sortedVertices,