◆ ~MyPoint() [1/2]
◆ MyPoint() [1/4]
MyPoint::MyPoint |
( |
const MyPoint & | other | ) |
|
|
inline |
◆ MyPoint() [2/4]
MyPoint::MyPoint |
( |
int | x, |
|
|
int | y ) |
|
inline |
◆ ~MyPoint() [2/2]
◆ MyPoint() [3/4]
MyPoint::MyPoint |
( |
const MyPoint & | other | ) |
|
|
inline |
◆ MyPoint() [4/4]
MyPoint::MyPoint |
( |
int | x, |
|
|
int | y ) |
|
inline |
◆ norm() [1/2]
double MyPoint::norm |
( |
| ) |
const |
|
inline |
Definition at line 327 of file testClone2.cpp.
328 {
329 double dx = (double)
_x;
330 double dy = (double)
_y;
331 return sqrt( dx * dx + dy * dy );
332 }
References _x, and _y.
◆ norm() [2/2]
double MyPoint::norm |
( |
| ) |
const |
|
inline |
Definition at line 165 of file testCloneAndAliases.cpp.
166 {
167 double dx = (double)
_x;
168 double dy = (double)
_y;
169 return sqrt( dx * dx + dy * dy );
170 }
References _x, and _y.
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ reset() [1/2]
◆ reset() [2/2]
◆ _x
◆ _y
◆ nbCreated
int MyPoint::nbCreated = 0 |
|
static |
◆ nbDeleted
int MyPoint::nbDeleted = 0 |
|
static |
The documentation for this class was generated from the following files: