Relative Points Cursor. More...
#include <rgeoinfo.h>
Inheritance diagram for RGeoInfoCursor:
Collaboration diagram for RGeoInfoCursor:
Public Member Functions | |
RGeoInfoCursor (void) | |
RGeoInfoCursor (RGeoInfo &info) | |
RGeoInfoCursor & | operator= (const RGeoInfoCursor &c) |
void | Set (RGeoInfo &info) |
void | Start (void) |
void | Next (void) |
bool | End (void) const |
RPoint | operator() (void) const |
Private Attributes | |
RPoint | Base |
Private Attributes inherited from RCursor< RPoint > | |
RPoint ** | Current |
size_t | ActPtr |
RPoint ** | Tab |
size_t | NbPtr |
size_t | CurNbPtr |
size_t | FirstPtr |
size_t | LastPtr |
Additional Inherited Members | |
Private Member Functions inherited from RCursor< RPoint > | |
RCursor (void) | |
RCursor (const RCursor< RPoint > &src) | |
RCursor (const iRContainer< RPoint > &c, size_t min=0, size_t max=SIZE_MAX) | |
RCursor< RPoint > & | operator= (const RCursor< RPoint > &src) |
void | Set (const iRContainer< RPoint > &c, size_t min=0, size_t max=SIZE_MAX) |
void | Clear (void) |
void | Start (void) |
void | StartFromEnd (void) |
void | GoTo (size_t idx) |
void | DeleteCurrent (RContainer< RPoint, a, o > &c) |
size_t | GetPos (void) const |
size_t | GetMaxPos (void) const |
size_t | GetNb (void) const |
bool | Begin (void) const |
bool | End (void) const |
bool | IsAt (size_t idx) const |
void | Next (size_t inc=1) |
void | Prev (size_t inc=1) |
RPoint * | operator() (void) const |
Detailed Description
Relative Points Cursor.
The RGeoInfoCursor class provides a way to go trough a set of points with a base point. In particular, it is adapted to parse a geometric information.
Constructor & Destructor Documentation
RGeoInfoCursor | ( | void | ) |
Construct the cursor.
RGeoInfoCursor | ( | RGeoInfo & | info | ) |
Construct the cursor. param info Geometric information to parser.
Member Function Documentation
RGeoInfoCursor& operator= | ( | const RGeoInfoCursor & | c | ) |
Assignment operator using a "Cursor".
void Set | ( | RGeoInfo & | info | ) |
Set the geometric information. param info Geometric information to parser.
void Start | ( | void | ) |
Start the cursor.
void Next | ( | void | ) |
Go to the next element of the cursor.
bool End | ( | void | ) | const |
- Returns
- true if the cursor has reached the end.
RPoint operator() | ( | void | ) | const |
Return the current element.
Member Data Documentation
|
private |
Base point.