FreeWRL / FreeX3D 4.3.0
monoChain Class Reference

Public Member Functions

 monoChain (directedLine *cHead, directedLine *cTail)
 
void setNext (monoChain *n)
 
void setPrev (monoChain *p)
 
void setNextPolygon (monoChain *np)
 
monoChaingetNext ()
 
monoChaingetPrev ()
 
directedLinegetHead ()
 
directedLinegetTail ()
 
void resetCurrent ()
 
void deleteLoop ()
 
void deleteLoopList ()
 
void insert (monoChain *nc)
 
Int numChainsSingleLoop ()
 
Int numChainsAllLoops ()
 
monoChain ** toArrayAllLoops (Int &num_chains)
 
Int toArraySingleLoop (monoChain **array, Int index)
 
Real chainIntersectHoriz (Real y)
 
directedLinefind (Real y)
 
void printOneChain ()
 
void printChainLoop ()
 
void printAllLoops ()
 

Data Fields

Int isKey
 
Real keyY
 

Detailed Description

Definition at line 41 of file monoChain.h.

Constructor & Destructor Documentation

◆ monoChain()

monoChain::monoChain ( directedLine * cHead,
directedLine * cTail )

Definition at line 91 of file monoChain.cc.

◆ ~monoChain()

monoChain::~monoChain ( )
inline

Definition at line 59 of file monoChain.h.

Member Function Documentation

◆ chainIntersectHoriz()

Real monoChain::chainIntersectHoriz ( Real y)

Definition at line 208 of file monoChain.cc.

◆ deleteLoop()

void monoChain::deleteLoop ( )

Definition at line 142 of file monoChain.cc.

◆ deleteLoopList()

void monoChain::deleteLoopList ( )

Definition at line 153 of file monoChain.cc.

◆ find()

directedLine * monoChain::find ( Real y)

Definition at line 392 of file monoChain.cc.

◆ getHead()

directedLine * monoChain::getHead ( )
inline

Definition at line 66 of file monoChain.h.

◆ getNext()

monoChain * monoChain::getNext ( )
inline

Definition at line 64 of file monoChain.h.

◆ getPrev()

monoChain * monoChain::getPrev ( )
inline

Definition at line 65 of file monoChain.h.

◆ getTail()

directedLine * monoChain::getTail ( )
inline

Definition at line 67 of file monoChain.h.

◆ insert()

void monoChain::insert ( monoChain * nc)

Definition at line 134 of file monoChain.cc.

◆ numChainsAllLoops()

Int monoChain::numChainsAllLoops ( )

Definition at line 198 of file monoChain.cc.

◆ numChainsSingleLoop()

Int monoChain::numChainsSingleLoop ( )

Definition at line 187 of file monoChain.cc.

◆ printAllLoops()

void monoChain::printAllLoops ( )

Definition at line 442 of file monoChain.cc.

◆ printChainLoop()

void monoChain::printChainLoop ( )

Definition at line 431 of file monoChain.cc.

◆ printOneChain()

void monoChain::printOneChain ( )

Definition at line 421 of file monoChain.cc.

◆ resetCurrent()

void monoChain::resetCurrent ( )
inline

Definition at line 69 of file monoChain.h.

◆ setNext()

void monoChain::setNext ( monoChain * n)
inline

Definition at line 61 of file monoChain.h.

◆ setNextPolygon()

void monoChain::setNextPolygon ( monoChain * np)
inline

Definition at line 63 of file monoChain.h.

◆ setPrev()

void monoChain::setPrev ( monoChain * p)
inline

Definition at line 62 of file monoChain.h.

◆ toArrayAllLoops()

monoChain ** monoChain::toArrayAllLoops ( Int & num_chains)

Definition at line 174 of file monoChain.cc.

◆ toArraySingleLoop()

Int monoChain::toArraySingleLoop ( monoChain ** array,
Int index )

Definition at line 163 of file monoChain.cc.

Field Documentation

◆ isKey

Int monoChain::isKey

Definition at line 82 of file monoChain.h.

◆ keyY

Real monoChain::keyY

Definition at line 83 of file monoChain.h.


The documentation for this class was generated from the following files: