Public Methods |
| MSLPoint () |
| MSLPoint (double x, double y) |
| ~MSLPoint () |
double | xcoord () const |
double | ycoord () const |
void | normalize () const |
int | dim () const |
double | sqr_dist (const MSLPoint& q) const |
double | xdist (const MSLPoint& q) const |
double | ydist (const MSLPoint& q) const |
double | distance (const MSLPoint& q) const |
double | distance () const |
double | angle (const MSLPoint& q, const MSLPoint& r) const |
MSLPoint | translate_by_angle (double alpha, double d) const |
MSLPoint | translate (double dx, double dy) const |
MSLPoint | rotate (const MSLPoint& q, double a) const |
MSLPoint | rotate (double a) const |
MSLPoint | rotate90 (const MSLPoint& q) const |
MSLPoint | rotate90 () const |
MSLPoint | reflect (const MSLPoint& q, const MSLPoint& r) const |
MSLPoint | reflect (const MSLPoint& q) const |
bool | operator== (const MSLPoint& q) const |
bool | operator!= (const MSLPoint& q) const |
Friends |
ostream& | operator<< (ostream& O, const MSLPoint& p) |
istream& | operator>> (istream& I, MSLPoint& p) |
istream& | operator>> (istream& is, list<MSLPoint> & vl) |
ostream& | operator<< (ostream& os, const list<MSLPoint> & vl) |
istream& | operator>> (istream& is, list<list<MSLPoint> > & vl) |
ostream& | operator<< (ostream& os, const list<list<MSLPoint> > & vl) |