#include <R2.h>

Public Member Functions | |
| PosiFeature () | |
| Default constructor. | |
| PosiFeature (const Position &p) | |
| Position constructor. | |
| PosiFeature (const Position &p, const int i) | |
| Complete constructor (T and assocType). | |
| PosiFeature (const PosiFeature &f) | |
| Copy constructor. | |
| PosiFeature (stringstream &ss) | |
| stringstream constructor. | |
| PosiFeature & | operator= (const PosiFeature &a) |
| Assigment operator =. | |
| Position | getPosition (void) const |
| Get the stored Position. | |
| int | getId (void) const |
| Return the associated integer. | |
| void | setId (int a) |
| Set the associated integer. | |
| string | print () const |
| Print the PosiFeature on a string. | |
| bool | notEqual (const PosiFeature &A, const Decimal &toll) const |
| This compares two posiFeatures with a given tollerance. | |
| PosiFeature & | mul (const Decimal &scalar) |
| compound assignment operator product by a scalar -* */ | |
| string | exportAsString () |
| export the posifieature as a formatted string: "id x y"; | |
Public Attributes | |
| int | numInliersForThisFeature |
| PosiFeature::PosiFeature | ( | ) | [inline] |
Default constructor.
| PosiFeature::PosiFeature | ( | const Position & | p | ) | [inline] |
Position constructor.
| &p | position to which a second assoObj could be associated. |
| PosiFeature::PosiFeature | ( | const Position & | p, | |
| const int | i | |||
| ) | [inline] |
Complete constructor (T and assocType).
| &p | Position to which i must be associated. | |
| i | an int to associate with p. |
| PosiFeature::PosiFeature | ( | const PosiFeature & | f | ) | [inline] |
Copy constructor.
| PosiFeature::PosiFeature | ( | stringstream & | ss | ) | [inline] |
stringstream constructor.
| PosiFeature& PosiFeature::operator= | ( | const PosiFeature & | a | ) | [inline] |
Assigment operator =.
| Position PosiFeature::getPosition | ( | void | ) | const [inline] |
| int PosiFeature::getId | ( | void | ) | const [inline] |
Return the associated integer.
| void PosiFeature::setId | ( | int | a | ) | [inline] |
Set the associated integer.
| a | the value to which the associated integer is set |
| string PosiFeature::print | ( | ) | const |
| bool PosiFeature::notEqual | ( | const PosiFeature & | A, | |
| const Decimal & | toll | |||
| ) | const |
This compares two posiFeatures with a given tollerance.
| PosiFeature & PosiFeature::mul | ( | const Decimal & | scalar | ) |
compound assignment operator product by a scalar -* */
| string PosiFeature::exportAsString | ( | ) | [inline] |
export the posifieature as a formatted string: "id x y";
1.5.6