A 2D point object.
More...
#include <algebra.hpp>
|
template<class Archive > |
void | serialize (Archive &_ar, const unsigned int _version) |
|
|
class | boost::serialization::access |
|
RTFX::Point2D::Point2D |
( |
| ) |
|
|
inline |
The base constructor. Initializes data to zero.
RTFX::Point2D::Point2D |
( |
double |
_x, |
|
|
double |
_y |
|
) |
| |
|
inline |
Constructor to create Point2D from x and y parameter values.
RTFX::Point2D::Point2D |
( |
const Point2D & |
_other | ) |
|
|
inline |
double* RTFX::Point2D::data |
( |
| ) |
|
|
inline |
Get a pointer to the x,y data of the Point2D object
Equals operator, set this point equal to the specified point
double& RTFX::Point2D::operator[] |
( |
size_t |
_idx | ) |
|
|
inline |
Access the x and y values of the Point2D using array [] indices. Assumption: idx is a valid index.
double RTFX::Point2D::operator[] |
( |
size_t |
_idx | ) |
const |
|
inline |
Access the x and y values of the Point2D using array [] indices. Assumption: idx is a valid index.
The documentation for this class was generated from the following file:
- C:/Users/jwistead/Desktop/lanortha/src/RTFX/RTFXLibrary/RTFXLibrary/src/algebra.hpp