SPH
|
#include <Point.h>
Public Member Functions | |
BasicPoint ()=default | |
BasicPoint (const T x, const T y) | |
T & | operator[] (const Size index) |
const T & | operator[] (const Size index) const |
TDerived & | operator+= (const TDerived &other) |
TDerived & | operator-= (const TDerived &other) |
TDerived & | operator*= (const float factor) |
TDerived & | operator/= (const float factor) |
TDerived | operator+ (const TDerived &other) const |
TDerived | operator- (const TDerived &other) const |
TDerived | operator* (const float factor) const |
TDerived | operator/ (const float factor) const |
bool | operator== (const TDerived &other) const |
bool | operator!= (const TDerived &other) const |
Public Attributes | |
T | x |
T | y |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const BasicPoint &p) |
std::istream & | operator>> (std::istream &stream, BasicPoint &p) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
T BasicPoint< T, TDerived >::x |
T BasicPoint< T, TDerived >::y |