#include <ofTypes.h>
Public Member Functions | |
virtual | ~ofPoint () |
ofPoint (float _x=0.0f, float _y=0.0f, float _z=0.0f) | |
ofPoint (const ofPoint &pnt) | |
void | set (float _x, float _y, float _z=0) |
ofPoint | operator- () const |
bool | operator== (const ofPoint &pnt) |
bool | operator!= (const ofPoint &pnt) |
ofPoint & | operator= (const ofPoint &pnt) |
ofPoint & | operator= (const float &val) |
ofPoint | operator+ (const ofPoint &pnt) const |
ofPoint | operator+ (const float &val) const |
ofPoint & | operator+= (const ofPoint &pnt) |
ofPoint & | operator+= (const float &val) |
ofPoint | operator- (const ofPoint &pnt) const |
ofPoint | operator- (const float &val) const |
ofPoint & | operator-= (const ofPoint &pnt) |
ofPoint & | operator-= (const float &val) |
ofPoint | operator* (const ofPoint &pnt) const |
ofPoint | operator* (const float &val) const |
ofPoint & | operator*= (const ofPoint &pnt) |
ofPoint & | operator*= (const float &val) |
ofPoint | operator/ (const ofPoint &pnt) const |
ofPoint | operator/ (const float &val) const |
ofPoint & | operator/= (const ofPoint &pnt) |
ofPoint & | operator/= (const float &val) |
Public Attributes | |
union { | |
struct { | |
float x | |
float y | |
float z | |
} | |
float v [3] | |
}; |
virtual ofPoint::~ofPoint | ( | ) | [inline, virtual] |
ofPoint::ofPoint | ( | float | _x = 0.0f , |
float | _y = 0.0f , |
||
float | _z = 0.0f |
||
) | [inline] |
ofPoint::ofPoint | ( | const ofPoint & | pnt ) | [inline] |
bool ofPoint::operator!= | ( | const ofPoint & | pnt ) | [inline] |
ofPoint ofPoint::operator* | ( | const float & | val ) | const [inline] |
ofPoint& ofPoint::operator*= | ( | const float & | val ) | [inline] |
ofPoint ofPoint::operator+ | ( | const float & | val ) | const [inline] |
ofPoint& ofPoint::operator+= | ( | const float & | val ) | [inline] |
ofPoint ofPoint::operator- | ( | ) | const [inline] |
ofPoint ofPoint::operator- | ( | const float & | val ) | const [inline] |
ofPoint& ofPoint::operator-= | ( | const float & | val ) | [inline] |
ofPoint ofPoint::operator/ | ( | const float & | val ) | const [inline] |
ofPoint& ofPoint::operator/= | ( | const float & | val ) | [inline] |
ofPoint& ofPoint::operator= | ( | const float & | val ) | [inline] |
bool ofPoint::operator== | ( | const ofPoint & | pnt ) | [inline] |
void ofPoint::set | ( | float | _x, |
float | _y, | ||
float | _z = 0 |
||
) | [inline] |
union { ... } |
float ofPoint::v[3] |
float ofPoint::x |
float ofPoint::y |
float ofPoint::z |