Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MSLPoint Class Reference

#include <point.h>

List of all members.

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)


Constructor & Destructor Documentation

MSLPoint::MSLPoint  
 

MSLPoint::MSLPoint double    x,
double    y
 

MSLPoint::~MSLPoint   [inline]
 


Member Function Documentation

double MSLPoint::angle const MSLPoint &    q,
const MSLPoint &    r
const
 

int MSLPoint::dim   const [inline]
 

double MSLPoint::distance   const [inline]
 

double MSLPoint::distance const MSLPoint &    q const
 

void MSLPoint::normalize   const [inline]
 

bool MSLPoint::operator!= const MSLPoint &    q const [inline]
 

bool MSLPoint::operator== const MSLPoint &    q const
 

MSLPoint MSLPoint::reflect const MSLPoint &    q const
 

MSLPoint MSLPoint::reflect const MSLPoint &    q,
const MSLPoint &    r
const
 

MSLPoint MSLPoint::rotate double    a const
 

MSLPoint MSLPoint::rotate const MSLPoint &    q,
double    a
const
 

MSLPoint MSLPoint::rotate90   const
 

MSLPoint MSLPoint::rotate90 const MSLPoint &    q const
 

double MSLPoint::sqr_dist const MSLPoint &    q const
 

MSLPoint MSLPoint::translate double    dx,
double    dy
const
 

MSLPoint MSLPoint::translate_by_angle double    alpha,
double    d
const
 

double MSLPoint::xcoord   const [inline]
 

double MSLPoint::xdist const MSLPoint &    q const
 

double MSLPoint::ycoord   const [inline]
 

double MSLPoint::ydist const MSLPoint &    q const
 


Friends And Related Function Documentation

ostream& operator<< ostream &    O,
const MSLPoint &    p
[friend]
 

istream& operator>> istream &    I,
MSLPoint &    p
[friend]
 


The documentation for this class was generated from the following files: Motion Strategy Library


Web page maintained by Steve LaValle