Iterator to the runs of a coded element. More...


Public Member Functions | |
| EObjectRunsIterator (eVision.ECodedElement codedElement) | |
| Constructs an iterator to the runs of a coded element. | |
| EObjectRunsIterator (eVision.EObjectRunsIterator other) | |
| Constructs an iterator to the runs of a coded element. | |
| void | First () |
| Rewinds to the first run of the coded element. | |
| void | Next () |
| Advance to the next run in the iterator. | |
Properties | |
| bool | IsDone [get] |
| Tests whether all the runs have been spanned. | |
| int | Y [get] |
| Returns the ordinate (Y-coordinate) of the run the iterator is currently over. | |
| int | StartX [get] |
| Returns the abscissa (X-coordinate) of the leftmost pixel of the run the iterator is currently over. | |
| int | EndX [get] |
| Returns the abscissa (X-coordinate) of the rightmost pixel of the run the iterator is currently over. | |
| uint | Length [get] |
| Returns the lengths of the run the iterator is currently over. | |
Iterator to the runs of a coded element.
This class is responsible for the sequential access to the individual runs of a coded element.
A run is defined as a maximal sequence of consecutive pixels on the same run, that all belong to the same coded element.
License(s): EasyObject
| eVision.EObjectRunsIterator.EObjectRunsIterator | ( | eVision.ECodedElement | codedElement | ) |
Constructs an iterator to the runs of a coded element.
| codedElement | The coded element of interest, in the case the iterator is to be constructed from a given coded element. |
| eVision.EObjectRunsIterator.EObjectRunsIterator | ( | eVision.EObjectRunsIterator | other | ) |
Constructs an iterator to the runs of a coded element.
| other | The iterator to be copied, in the case of the copy constructor. |
| void eVision.EObjectRunsIterator.First | ( | ) |
Rewinds to the first run of the coded element.
| void eVision.EObjectRunsIterator.Next | ( | ) |
Advance to the next run in the iterator.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator.IsDone to check this condition.
|
get |
Returns the abscissa (X-coordinate) of the rightmost pixel of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator.IsDone to check this condition.
|
get |
Tests whether all the runs have been spanned.
|
get |
Returns the lengths of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator.IsDone to check this condition.
|
get |
Returns the abscissa (X-coordinate) of the leftmost pixel of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator.IsDone to check this condition.
|
get |
Returns the ordinate (Y-coordinate) of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator.IsDone to check this condition.