MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
envitia::maplink::earth::GeodeticPointSet Class Reference

Detailed Description

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.
 
GeodeticPointSetoperator= (const GeodeticPointSet &other)
 Assignment operator.
 
bool operator== (const GeodeticPointSet &other) const
 Equality operator.
 
bool operator!= (const GeodeticPointSet &other) const
 Inequality operator.
 
GeodeticPointoperator[] (unsigned int index)
 
const GeodeticPointoperator[] (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 GeodeticPointfront () const
 Access the first point in the set.
 
const GeodeticPointback () 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.
 

Constructor & Destructor Documentation

◆ GeodeticPointSet() [1/2]

envitia::maplink::earth::GeodeticPointSet::GeodeticPointSet ( )

Constructor.

◆ GeodeticPointSet() [2/2]

envitia::maplink::earth::GeodeticPointSet::GeodeticPointSet ( const GeodeticPointSet & other)

Copy Constructor.

◆ ~GeodeticPointSet()

envitia::maplink::earth::GeodeticPointSet::~GeodeticPointSet ( )

Destructor.

Member Function Documentation

◆ append()

void envitia::maplink::earth::GeodeticPointSet::append ( const GeodeticPoint & p)

Append a point set to the end of this set.

◆ back()

const GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::back ( ) const

Access the last point in the set.

◆ clear()

void envitia::maplink::earth::GeodeticPointSet::clear ( )

Remove all points from the set.

◆ erase()

void envitia::maplink::earth::GeodeticPointSet::erase ( unsigned int index)

Remove the point at index.

◆ front()

const GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::front ( ) const

Access the first point in the set.

◆ insert()

void envitia::maplink::earth::GeodeticPointSet::insert ( unsigned int index,
const GeodeticPoint & p )

Insert a point at index.

◆ operator!=()

bool envitia::maplink::earth::GeodeticPointSet::operator!= ( const GeodeticPointSet & other) const

Inequality operator.

◆ operator=()

GeodeticPointSet & envitia::maplink::earth::GeodeticPointSet::operator= ( const GeodeticPointSet & other)

Assignment operator.

◆ operator==()

bool envitia::maplink::earth::GeodeticPointSet::operator== ( const GeodeticPointSet & other) const

Equality operator.

◆ operator[]() [1/2]

GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::operator[] ( unsigned int index)

Array operator. @index The index of the point to access.

Returns
The point at the requested index.

◆ operator[]() [2/2]

const GeodeticPoint & envitia::maplink::earth::GeodeticPointSet::operator[] ( unsigned int index) const

Array operator. @index The index of the point to access.

Returns
The point at the requested index.

◆ pop_back()

void envitia::maplink::earth::GeodeticPointSet::pop_back ( )

Remove the last point in the set.

◆ push_back()

void envitia::maplink::earth::GeodeticPointSet::push_back ( const GeodeticPoint & p)

Append a point to this set.

◆ resize() [1/2]

void envitia::maplink::earth::GeodeticPointSet::resize ( unsigned int count)

Resize the set to contain count entries. The entries will be initialised to GeodeticPoint::GeodeticPoint().

◆ resize() [2/2]

void envitia::maplink::earth::GeodeticPointSet::resize ( unsigned int count,
const GeodeticPoint & p )

Resize the set to contain count entries, initialised to p.

◆ size()

unsigned int envitia::maplink::earth::GeodeticPointSet::size ( ) const

The number of points in the set.

◆ swap()

void envitia::maplink::earth::GeodeticPointSet::swap ( GeodeticPointSet & other)

Swap the contents of this set with another.