Main Page   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)
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)


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 & p ) const
 

MSLPoint MSLPoint::reflect ( const MSLPoint & q ) const
 

MSLPoint MSLPoint::reflect ( const MSLPoint & p,
const MSLPoint & q ) const
 

MSLPoint MSLPoint::rotate ( double fi ) const
 

MSLPoint MSLPoint::rotate ( const MSLPoint & origin,
double fi ) const
 

MSLPoint MSLPoint::rotate90 ( ) const
 

MSLPoint MSLPoint::rotate90 ( const MSLPoint & p ) const
 

double MSLPoint::sqr_dist ( const MSLPoint & p ) const
 

MSLPoint MSLPoint::translate ( double dx,
double dy ) const
 

MSLPoint MSLPoint::translate_by_angle ( double phi,
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 & os,
const list< list< MSLPoint > >& L ) [friend]
 

ostream& operator<< ( ostream & os,
const list< MSLPoint >& L ) [friend]
 

ostream& operator<< ( ostream & os,
const MSLPoint & p ) [friend]
 

istream& operator>> ( istream & is,
list< list< MSLPoint > >& L ) [friend]
 

istream& operator>> ( istream & is,
list< MSLPoint >& L ) [friend]
 

istream& operator>> ( istream & is,
MSLPoint & p ) [friend]
 


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


Web page maintained by Steve LaValle
Partial support provided by NSF CAREER Award IRI-970228 (LaValle), Honda Research, and Iowa State University.
Contributors: Anna Atramentov, Peng Cheng, James Kuffner, Steve LaValle, and Libo Yang.