#include <Point.h>
Inheritance diagram for sava::spatial::Point2D< CoordType >:
Definition at line 303 of file Point.h.
Public Types | |
typedef CoordType | coordinate_type |
The type of coordinates stored in the point. | |
Public Member Functions | |
Point2D () | |
Point2D (const coordinate_type &x, const coordinate_type &y) | |
Point () | |
Constructs a point with all coordinate values set to zero. | |
coordinate_type & | operator[] (const unsigned int index) |
Returns the coordinate at the specified index. | |
const coordinate_type & | operator[] (const unsigned int index) const |
Returns the coordinate at the specified index as a const reference. | |
Static Public Member Functions | |
static const unsigned int | dimensions () |
Returns the number of dimensions in the point. |
|
The type of coordinates stored in the point.
Reimplemented from sava::spatial::Point< 2, CoordType >. |
|
|
|
|
|
Returns the number of dimensions in the point.
|
|
Returns the coordinate at the specified index as a const reference.
|
|
Returns the coordinate at the specified index.
|
|
Constructs a point with all coordinate values set to zero.
|