#include <MultiRegCamStr.h>
Public Member Functions | |
InterPoints () | |
Number of points stored. | |
InterPoints (Position xy) | |
Complete constructor. | |
InterPoints (vector< Position > xy) | |
Complete constructor. | |
InterPoints (Decimal x, Decimal y) | |
Complete(list) constructor. | |
~InterPoints () | |
Default destructor. | |
int | getSize () |
Returns the actual size of the interPoints stored. | |
InterPoints & | operator= (const InterPoints &rhs) |
Assignement operator. | |
void | insertPoint (Position xy) |
Set a single point. | |
void | deletePoint (int pos) |
Deletes a position in the list. | |
void | deleteLastPoint () |
void | insertPoints (vector< Position > xy) |
Insert a set of points. | |
void | insertPoint (Position ip, int pos) |
Insert a new point in the list in position pos | |
Position | getPoint (int pos) |
Returns the stored point at 'pos' coordinate. | |
Position | getLastPoint () |
brief Returns the last stored item | |
string | print () |
Prints the list of points stored. |
MipAlgorithms::InterPoints::InterPoints | ( | ) |
Number of points stored.
Default constructor
MipAlgorithms::InterPoints::InterPoints | ( | Position | xy | ) |
Complete constructor.
MipAlgorithms::InterPoints::InterPoints | ( | vector< Position > | xy | ) |
Complete constructor.
MipAlgorithms::InterPoints::~InterPoints | ( | ) |
Default destructor.
int MipAlgorithms::InterPoints::getSize | ( | ) |
Returns the actual size of the interPoints stored.
InterPoints & MipAlgorithms::InterPoints::operator= | ( | const InterPoints & | rhs | ) |
Assignement operator.
void MipAlgorithms::InterPoints::insertPoint | ( | Position | xy | ) |
Set a single point.
void MipAlgorithms::InterPoints::deletePoint | ( | int | pos | ) |
Deletes a position in the list.
void MipAlgorithms::InterPoints::deleteLastPoint | ( | ) |
void MipAlgorithms::InterPoints::insertPoints | ( | vector< Position > | xy | ) |
Insert a set of points.
void MipAlgorithms::InterPoints::insertPoint | ( | Position | ip, | |
int | pos | |||
) |
Insert a new point in the list in position pos
Position MipAlgorithms::InterPoints::getPoint | ( | int | pos | ) |
Returns the stored point at 'pos' coordinate.
Position MipAlgorithms::InterPoints::getLastPoint | ( | ) |
brief Returns the last stored item
string MipAlgorithms::InterPoints::print | ( | ) |
Prints the list of points stored.