#include <PointImpl.h>
|
| PointImpl (const std::vector< T > &x) |
| Constructor for an N-dimensional point where N=1,2,3. More...
|
|
| PointImpl (const T *x, size_type N) |
| Constructor for an N-dimensional point where N=1,2,3. More...
|
|
| PointImpl (size_type N) |
| Constructor for an N-dimensional point where N=1,2,3. More...
|
|
| PointImpl (size_type N, const_reference init) |
| Constructor for an N-dimensional point where N=1,2,3. More...
|
|
| PointImpl (const PointImpl &p) |
| Copy constructor for a point. More...
|
|
| ~PointImpl () |
| Destructor. More...
|
|
size_type | size () const |
| Returns the dimension of the point. More...
|
|
iterator | begin () |
| Return iterator pointing to the begining of point data. More...
|
|
const_iterator | begin () const |
| Return iterator pointing to the begining of PointImpl data. More...
|
|
iterator | end () |
| Return iterator pointing to the end of PointImpl data. More...
|
|
const_iterator | end () const |
| Return iterator pointing to the end of PointImpl data. More...
|
|
PointImpl & | operator= (const PointImpl &p) |
| Operator overload for assignment q=p. More...
|
|
reference | operator[] (size_type i) |
| Operator to get a reference to a component of the point. More...
|
|
const_reference | operator[] (size_type i) const |
| Operator to get a const reference to a component of the point. More...
|
|
◆ const_iterator
◆ const_reference
◆ difference_type
◆ iterator
◆ pointer
◆ reference
◆ value_type
◆ PointImpl() [1/5]
Constructor for an N-dimensional point where N=1,2,3.
- Parameters
-
[in] | x | is reference to std::vector contaning the coordinates of the point |
- Exceptions
-
◆ PointImpl() [2/5]
Constructor for an N-dimensional point where N=1,2,3.
- Parameters
-
[in] | x | is pointer to coordinates of the point |
[in] | N | dimension of the point |
- Exceptions
-
◆ PointImpl() [3/5]
Constructor for an N-dimensional point where N=1,2,3.
- Parameters
-
[in] | N | dimension of the point point |
- Exceptions
-
◆ PointImpl() [4/5]
Constructor for an N-dimensional point where N=1,2,3.
- Parameters
-
[in] | N | dimension of the point |
[out] | init | initial value to be assigned to all components of the point |
- Exceptions
-
◆ PointImpl() [5/5]
Copy constructor for a point.
- Parameters
-
◆ ~PointImpl()
◆ begin() [1/2]
Return iterator pointing to the begining of point data.
- Returns
- Iterator pointing to the begingin of PointImpl.
◆ begin() [2/2]
Return iterator pointing to the begining of PointImpl data.
- Returns
- Constant iterator pointing to the begining of PointImpl.
◆ end() [1/2]
Return iterator pointing to the end of PointImpl data.
- Returns
- Iterator pointing to the end of PointImpl.
◆ end() [2/2]
Return iterator pointing to the end of PointImpl data.
- Returns
- Constant iterator pointing to the end of PointImpl.
◆ operator=()
Operator overload for assignment q=p.
- Parameters
-
- Returns
- reference to the lhs PointImpl
◆ operator[]() [1/2]
Operator to get a reference to a component of the point.
- Parameters
-
[in] | i | is the index to the component of the point |
- Returns
- reference to the component of the point
- Exceptions
-
exception | if i >= dimension of the point |
◆ operator[]() [2/2]
Operator to get a const reference to a component of the point.
- Parameters
-
[in] | i | is the index to the component of the point |
- Returns
- const reference to the component of the point
- Exceptions
-
exception | if i >= dimension of the point |
◆ size()
Returns the dimension of the point.
- Returns
- dimension of the point
◆ d_data
◆ d_size
The documentation for this class was generated from the following files: