![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
A set of points in geodetic space
Public Member Functions | |
GeodeticPointSet () | |
Constructor. | |
GeodeticPointSet (const GeodeticPointSet &other) | |
Copy Constructor. | |
~GeodeticPointSet () | |
Destructor. | |
unsigned int | size () const |
The number of points in the set. | |
GeodeticPointSet & | operator= (const GeodeticPointSet &other) |
Assignment operator. | |
bool | operator== (const GeodeticPointSet &other) const |
Equality operator. | |
bool | operator!= (const GeodeticPointSet &other) const |
Inequality operator. | |
GeodeticPoint & | operator[] (unsigned int index) |
const GeodeticPoint & | operator[] (unsigned int index) const |
void | insert (unsigned int index, const GeodeticPoint &p) |
Insert a point at index. | |
void | erase (unsigned int index) |
Remove the point at index. | |
void | append (const GeodeticPoint &p) |
Append a point set to the end of this set. | |
void | push_back (const GeodeticPoint &p) |
Append a point to this set. | |
void | pop_back () |
Remove the last point in the set. | |
const GeodeticPoint & | front () const |
Access the first point in the set. | |
const GeodeticPoint & | back () const |
Access the last point in the set. | |
void | resize (unsigned int count) |
void | resize (unsigned int count, const GeodeticPoint &p) |
Resize the set to contain count entries, initialised to p. | |
void | swap (GeodeticPointSet &other) |
Swap the contents of this set with another. | |
void | clear () |
Remove all points from the set. | |
envitia::maplink::earth::GeodeticPointSet::GeodeticPointSet | ( | ) |
Constructor.
envitia::maplink::earth::GeodeticPointSet::GeodeticPointSet | ( | const GeodeticPointSet & | other | ) |
Copy Constructor.
envitia::maplink::earth::GeodeticPointSet::~GeodeticPointSet | ( | ) |
Destructor.
void envitia::maplink::earth::GeodeticPointSet::append | ( | const GeodeticPoint & | p | ) |
Append a point set to the end of this set.
const GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::back | ( | ) | const |
Access the last point in the set.
void envitia::maplink::earth::GeodeticPointSet::clear | ( | ) |
Remove all points from the set.
void envitia::maplink::earth::GeodeticPointSet::erase | ( | unsigned int | index | ) |
Remove the point at index.
const GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::front | ( | ) | const |
Access the first point in the set.
void envitia::maplink::earth::GeodeticPointSet::insert | ( | unsigned int | index, |
const GeodeticPoint & | p ) |
Insert a point at index.
bool envitia::maplink::earth::GeodeticPointSet::operator!= | ( | const GeodeticPointSet & | other | ) | const |
Inequality operator.
GeodeticPointSet & envitia::maplink::earth::GeodeticPointSet::operator= | ( | const GeodeticPointSet & | other | ) |
Assignment operator.
bool envitia::maplink::earth::GeodeticPointSet::operator== | ( | const GeodeticPointSet & | other | ) | const |
Equality operator.
GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::operator[] | ( | unsigned int | index | ) |
Array operator. @index The index of the point to access.
const GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::operator[] | ( | unsigned int | index | ) | const |
Array operator. @index The index of the point to access.
void envitia::maplink::earth::GeodeticPointSet::pop_back | ( | ) |
Remove the last point in the set.
void envitia::maplink::earth::GeodeticPointSet::push_back | ( | const GeodeticPoint & | p | ) |
Append a point to this set.
void envitia::maplink::earth::GeodeticPointSet::resize | ( | unsigned int | count | ) |
Resize the set to contain count entries. The entries will be initialised to GeodeticPoint::GeodeticPoint().
void envitia::maplink::earth::GeodeticPointSet::resize | ( | unsigned int | count, |
const GeodeticPoint & | p ) |
Resize the set to contain count entries, initialised to p.
unsigned int envitia::maplink::earth::GeodeticPointSet::size | ( | ) | const |
The number of points in the set.
void envitia::maplink::earth::GeodeticPointSet::swap | ( | GeodeticPointSet & | other | ) |
Swap the contents of this set with another.