GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
25 NVPoint(
float p_x,
float p_y ) :
x( p_x ),
y( p_y ) { }
34 void Print( std::ostream& os )
const { os <<
"[" <<
x <<
"," <<
y <<
"]"; }
35 void Set(
float inX,
float inY ) {
x = inX;
y = inY; }
60 return (
x == p.
x &&
y == p.
y);
65 return (
x != p.
x ||
y != p.
y);
void Set(float inX, float inY)
Definition: NVPoint.h:35
NVPoint & operator-=(const NVPoint &p)
Definition: NVPoint.h:44
float x
Definition: NVPoint.h:68
NVPoint & operator=(const NVPoint &p)
Definition: NVPoint.h:37
~NVPoint()
Definition: NVPoint.h:32
NVPoint(float p_x, float p_y)
Definition: NVPoint.h:25
NVPoint(const NVPoint &nvp)
Definition: NVPoint.h:26
float y
Definition: NVPoint.h:69
bool operator==(const NVPoint &p) const
Definition: NVPoint.h:58
bool operator!=(const NVPoint &p) const
Definition: NVPoint.h:63
NVPoint & operator+=(const NVPoint &p)
Definition: NVPoint.h:51
void Print(std::ostream &os) const
Definition: NVPoint.h:34
NVPoint()
Definition: NVPoint.h:24
std::ostream & operator<<(std::ostream &os, const svgendl &eol)