|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <directedLine.h>

Private Attributes | |
| short | direction |
| sampledLine * | sline |
| directedLine * | next |
| directedLine * | prev |
| directedLine * | nextPolygon |
| Int | rootBit |
| directedLine * | rootLink |
Definition at line 41 of file directedLine.h.
| directedLine::directedLine | ( | short | dir, |
| sampledLine * | sl | ||
| ) |
Definition at line 285 of file directedLine.cc.
| directedLine::directedLine | ( | ) |
Definition at line 305 of file directedLine.cc.
Referenced by connectDiagonal(), connectDiagonal_2slines(), and deleteChain().
| directedLine::~directedLine | ( | ) |
Definition at line 316 of file directedLine.cc.
| Int directedLine::compInX | ( | directedLine * | nl | ) |
Definition at line 438 of file directedLine.cc.
| Int directedLine::compInY | ( | directedLine * | nl | ) |
Definition at line 423 of file directedLine.cc.
Referenced by monoChain::monoChain().
| void directedLine::connectDiagonal | ( | directedLine * | v1, |
| directedLine * | v2, | ||
| directedLine ** | ret_p1, | ||
| directedLine ** | ret_p2, | ||
| sampledLine ** | generatedLine, | ||
| directedLine * | list | ||
| ) |
Definition at line 632 of file directedLine.cc.
| void directedLine::connectDiagonal_2slines | ( | directedLine * | v1, |
| directedLine * | v2, | ||
| directedLine ** | ret_p1, | ||
| directedLine ** | ret_p2, | ||
| directedLine * | list | ||
| ) |
Definition at line 675 of file directedLine.cc.
Referenced by monoPolyPart(), monoTriangulationOpt(), monoTriangulationRecGenOpt(), and sampleMonoPoly().
| directedLine * directedLine::cutIntersectionAllPoly | ( | int & | cutOccur | ) |
Definition at line 208 of file directedLine.cc.
| directedLine * directedLine::cutoffPolygon | ( | directedLine * | p | ) |
Definition at line 514 of file directedLine.cc.
Referenced by MC_partitionY(), and partitionY().
| directedLine * directedLine::deleteChain | ( | directedLine * | begin, |
| directedLine * | end | ||
| ) |
Definition at line 53 of file directedLine.cc.
| directedLine * directedLine::deleteDegenerateLines | ( | ) |
Definition at line 124 of file directedLine.cc.
| directedLine * directedLine::deleteDegenerateLinesAllPolygons | ( | ) |
Definition at line 180 of file directedLine.cc.
Referenced by Subdivider::drawSurfaces().
| void directedLine::deletePolygonList | ( | ) |
Definition at line 273 of file directedLine.cc.
| void directedLine::deletePolygonListWithSline | ( | ) |
Definition at line 252 of file directedLine.cc.
| void directedLine::deleteSingleLine | ( | directedLine * | dline | ) |
Definition at line 88 of file directedLine.cc.
Referenced by deleteDegenerateLines().
| void directedLine::deleteSinglePolygon | ( | ) |
| void directedLine::deleteSinglePolygonWithSline | ( | ) |
Definition at line 240 of file directedLine.cc.
Referenced by deleteDegenerateLines(), monoTriangulationOpt(), monoTriangulationRecGenOpt(), sampleLeftOneGridStep(), sampleMonoPoly(), sampleRightOneGridStep(), and Slicer::slice_new().
| directedLine * directedLine::findRoot | ( | ) |
Definition at line 722 of file directedLine.cc.
Referenced by MC_partitionY(), and partitionY().
|
inline |
Definition at line 72 of file directedLine.h.
Referenced by DBG_is_U_direction(), monoTriangulation(), monoTriangulationFun(), monoTriangulationRec(), polygonConvert(), sampleMonoPoly(), toVertexArrays(), triangulateConvexPolyHoriz(), and triangulateConvexPolyVertical().
|
inline |
|
inline |
Definition at line 74 of file directedLine.h.
Referenced by DBG_checkConnectivity(), DBG_collectSampledLinesPoly(), DBG_cutIntersectionPoly(), DBG_edgeIntersectPoly(), DBG_edgesIntersect(), DBG_is_U_direction(), DBG_is_U_monotone(), DBG_isConvex(), DBG_polygonSelfIntersect(), DBG_polygonsIntersect(), DBG_rayIntersectPoly(), DBG_reverse(), directedLineLoopToMonoChainLoop(), findDiagonal_singleCuspX(), findInteriorCuspsX(), findTopAndBot(), MC_findDiagonals(), monoPolyPart(), monoTriangulation(), monoTriangulationFun(), numInteriorCuspsX(), polygonConvert(), sampleMonoPoly(), toVertexArrays(), triangulateConvexPoly(), triangulateConvexPolyHoriz(), and triangulateConvexPolyVertical().
|
inline |
Definition at line 75 of file directedLine.h.
Referenced by DBG_collectSampledLinesAllPoly(), and DBG_polygonListIntersect().
|
inline |
Definition at line 73 of file directedLine.h.
Referenced by DBG_checkConnectivity(), DBG_cutIntersectionPoly(), DBG_edgesIntersect(), DBG_is_U_monotone(), DBG_rayIntersectPoly(), DBG_reverse(), findDiagonals(), findRightGridIndices(), MC_findDiagonals(), MC_partitionY(), MC_sweepY(), monoPolyPart(), monoTriangulation(), monoTriangulationFun(), monoTriangulationRec(), partitionY(), sampleMonoPoly(), sweepRangeEqual(), sweepY(), toVertexArrays(), triangulateConvexPolyHoriz(), and triangulateConvexPolyVertical().
|
inline |
Definition at line 326 of file directedLine.cc.
Referenced by monoTriangulation(), monoTriangulationFun(), monoTriangulationRec(), polygonConvert(), sampleMonoPoly(), toVertexArrays(), triangulateConvexPolyHoriz(), and triangulateConvexPolyVertical().
| Real * directedLine::head | ( | ) |
Definition at line 320 of file directedLine.cc.
Referenced by monoChain::chainIntersectHoriz(), compChainHeadInY(), compEdges(), compInX(), compInY(), DBG_checkConnectivity(), DBG_cutIntersectionPoly(), DBG_edgesIntersect(), DBG_enclosingPolygons(), DBG_is_U_direction(), DBG_is_U_monotone(), DBG_isConvex(), DBG_rayIntersectPoly(), deleteDegenerateLines(), deleteSingleLine(), monoChain::find(), findDiagonal_singleCuspX(), findGridChains(), findLeftGridIndices(), findRightGridIndices(), findTopAndBot(), isConnected(), MC_findDiagonals(), MC_partitionY(), MC_sweepY(), monoChain::monoChain(), monoPolyPart(), monoTriangulation(), monoTriangulationFun(), partitionY(), polyArea(), monoChain::printOneChain(), printSingle(), sampleMonoPoly(), and triangulateConvexPoly().
| void directedLine::init | ( | short | dir, |
| sampledLine * | sl | ||
| ) |
Definition at line 299 of file directedLine.cc.
| void directedLine::insert | ( | directedLine * | nl | ) |
Definition at line 337 of file directedLine.cc.
Referenced by monoTriangulationRecGenOpt(), readAllPolygons(), sampleLeftOneGridStep(), and sampleRightOneGridStep().
| directedLine * directedLine::insertPolygon | ( | directedLine * | newpolygon | ) |
Definition at line 501 of file directedLine.cc.
Referenced by MC_partitionY(), monoPolyPart(), partitionY(), and readAllPolygons().
| short directedLine::isConnected | ( | ) |
Definition at line 391 of file directedLine.cc.
Referenced by isPolygon().
| short directedLine::isPolygon | ( | ) |
Definition at line 371 of file directedLine.cc.
| Int directedLine::numEdges | ( | ) |
Definition at line 346 of file directedLine.cc.
Referenced by isPolygon(), monoTriangulationOpt(), monoTriangulationRecGenOpt(), and sampleMonoPoly().
| Int directedLine::numEdgesAllPolygons | ( | ) |
Definition at line 358 of file directedLine.cc.
Referenced by toArrayAllPolygons().
| Int directedLine::numPolygons | ( | ) |
Definition at line 541 of file directedLine.cc.
Referenced by numPolygons(), and writeAllPolygons().
| Real directedLine::polyArea | ( | ) |
Definition at line 585 of file directedLine.cc.
Referenced by DBG_isCounterclockwise().
| void directedLine::printAllPolygons | ( | ) |
Definition at line 490 of file directedLine.cc.
| void directedLine::printList | ( | ) |
Definition at line 481 of file directedLine.cc.
| void directedLine::printSingle | ( | ) |
Definition at line 470 of file directedLine.cc.
Referenced by printList(), and sweepY().
|
inline |
|
inline |
|
inline |
Definition at line 152 of file directedLine.h.
| directedLine * directedLine::rootLinkFindRoot | ( | ) |
Definition at line 731 of file directedLine.cc.
Referenced by MC_partitionY(), and partitionY().
|
inline |
Definition at line 155 of file directedLine.h.
Referenced by MC_partitionY(), partitionY(), and readAllPolygons().
| Int directedLine::samePolygon | ( | directedLine * | v1, |
| directedLine * | v2 | ||
| ) |
Definition at line 711 of file directedLine.cc.
Referenced by MC_partitionY(), and partitionY().
|
inline |
| directedLine ** directedLine::sortAllPolygons | ( | ) |
Definition at line 461 of file directedLine.cc.
| Real * directedLine::tail | ( | ) |
Definition at line 331 of file directedLine.cc.
Referenced by monoChain::chainIntersectHoriz(), compEdges(), DBG_checkConnectivity(), DBG_cutIntersectionPoly(), DBG_edgesIntersect(), DBG_is_U_direction(), DBG_is_U_monotone(), DBG_isConvex(), DBG_rayIntersectPoly(), deleteDegenerateLines(), deleteSingleLine(), findDiagonal_singleCuspX(), findLeftGridIndices(), findRightGridIndices(), isConnected(), and triangulateConvexPoly().
| directedLine ** directedLine::toArrayAllPolygons | ( | Int & | total_num_edges | ) |
Definition at line 567 of file directedLine.cc.
Referenced by DBGfindDiagonals(), partitionY(), and sortAllPolygons().
| Int directedLine::toArraySinglePolygon | ( | directedLine ** | array, |
| Int | index | ||
| ) |
Definition at line 756 of file directedLine.cc.
|
private |
Definition at line 42 of file directedLine.h.
Referenced by getDirection().
|
private |
Definition at line 44 of file directedLine.h.
Referenced by connectDiagonal(), connectDiagonal_2slines(), deleteChain(), deleteDegenerateLines(), deleteSingleLine(), deleteSinglePolygon(), deleteSinglePolygonWithSline(), directedLine(), findRoot(), getNext(), insert(), isPolygon(), numEdges(), polyArea(), printList(), putNext(), and toArraySinglePolygon().
|
private |
Definition at line 50 of file directedLine.h.
Referenced by cutIntersectionAllPoly(), cutoffPolygon(), deleteDegenerateLinesAllPolygons(), directedLine(), getNextPolygon(), insertPolygon(), and numPolygons().
|
private |
Definition at line 45 of file directedLine.h.
Referenced by connectDiagonal(), connectDiagonal_2slines(), deleteChain(), deleteDegenerateLines(), deleteSingleLine(), deleteSinglePolygon(), deleteSinglePolygonWithSline(), directedLine(), getPrev(), insert(), isConnected(), and putPrev().
|
private |
Definition at line 55 of file directedLine.h.
Referenced by directedLine(), findRoot(), resetRootBit(), and setRootBit().
|
private |
Definition at line 58 of file directedLine.h.
Referenced by directedLine(), insert(), rootLinkFindRoot(), and rootLinkSet().
|
private |
Definition at line 43 of file directedLine.h.
Referenced by deleteChain(), directedLine(), get_npoints(), getSampledLine(), getVertex(), head(), init(), printSingle(), and tail().