ICOORD Class Reference
#include <points.h>
List of all members.
Public Member Functions |
| ICOORD () |
| ICOORD (inT16 xin, inT16 yin) |
| ~ICOORD () |
| NEWDELETE2 (ICOORD) inT16 x() const |
inT16 | y () const |
void | set_x (inT16 xin) |
void | set_y (inT16 yin) |
void | set_with_shrink (int x, int y) |
float | sqlength () const |
float | length () const |
float | pt_to_pt_sqdist (const ICOORD &pt) const |
float | pt_to_pt_dist (const ICOORD &pt) const |
float | angle () const |
BOOL8 | operator== (const ICOORD &other) |
BOOL8 | operator!= (const ICOORD &other) |
void | rotate (const FCOORD &vec) |
void | setup_render (ICOORD *major_step, ICOORD *minor_step, int *major, int *minor) const |
void | serialise_asc (FILE *f) |
void | de_serialise_asc (FILE *f) |
Protected Attributes |
inT16 | xcoord |
inT16 | ycoord |
Friends |
class | FCOORD |
ICOORD | operator! (const ICOORD &) |
ICOORD | operator- (const ICOORD &) |
ICOORD | operator+ (const ICOORD &, const ICOORD &) |
ICOORD & | operator+= (ICOORD &, const ICOORD &) |
ICOORD | operator- (const ICOORD &, const ICOORD &) |
ICOORD & | operator-= (ICOORD &, const ICOORD &) |
inT32 | operator% (const ICOORD &, const ICOORD &) |
inT32 | operator* (const ICOORD &, const ICOORD &) |
ICOORD | operator* (const ICOORD &, inT16) |
ICOORD | operator* (inT16, const ICOORD &) |
ICOORD & | operator*= (ICOORD &, inT16) |
ICOORD | operator/ (const ICOORD &, inT16) |
ICOORD & | operator/= (ICOORD &, inT16) |
Constructor & Destructor Documentation
ICOORD::ICOORD |
( |
|
) |
[inline] |
ICOORD::~ICOORD |
( |
|
) |
[inline] |
Member Function Documentation
float ICOORD::angle |
( |
|
) |
const [inline] |
void ICOORD::de_serialise_asc |
( |
FILE * |
f |
) |
|
float ICOORD::length |
( |
|
) |
const [inline] |
ICOORD::NEWDELETE2 |
( |
ICOORD |
|
) |
const [inline] |
BOOL8 ICOORD::operator!= |
( |
const ICOORD & |
other |
) |
[inline] |
BOOL8 ICOORD::operator== |
( |
const ICOORD & |
other |
) |
[inline] |
float ICOORD::pt_to_pt_dist |
( |
const ICOORD & |
pt |
) |
const [inline] |
float ICOORD::pt_to_pt_sqdist |
( |
const ICOORD & |
pt |
) |
const [inline] |
void ICOORD::rotate |
( |
const FCOORD & |
vec |
) |
[inline] |
void ICOORD::serialise_asc |
( |
FILE * |
f |
) |
|
void ICOORD::set_with_shrink |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | |
void ICOORD::set_x |
( |
inT16 |
xin |
) |
[inline] |
void ICOORD::set_y |
( |
inT16 |
yin |
) |
[inline] |
void ICOORD::setup_render |
( |
ICOORD * |
major_step, |
|
|
ICOORD * |
minor_step, |
|
|
int * |
major, |
|
|
int * |
minor | |
|
) |
| | const |
float ICOORD::sqlength |
( |
|
) |
const [inline] |
inT16 ICOORD::y |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: