Public Member Functions | Public Attributes

Point Class Reference
[Trajectory Generator]

Represents a point in 2D space and provides some useful methods for calculation with points. More...

#include <trgen.h>

List of all members.

Public Member Functions

 Point ()
 Point (double _x, double _y)
double distanceTo (const class Point &wp) const
double angleTo (const class Point &wp) const
bool operator== (const class Point &o) const
bool operator!= (const Point &o) const

Public Attributes

double x
double y

Detailed Description

Represents a point in 2D space and provides some useful methods for calculation with points.


Constructor & Destructor Documentation

Point::Point (  )  [inline]
Point::Point ( double  _x,
double  _y 
) [inline]

Member Function Documentation

double Point::angleTo ( const class Point wp  )  const [inline]

Here is the caller graph for this function:

double Point::distanceTo ( const class Point wp  )  const [inline]

Here is the caller graph for this function:

bool Point::operator!= ( const Point o  )  const [inline]
bool Point::operator== ( const class Point o  )  const [inline]

Member Data Documentation

double Point::x
double Point::y

The documentation for this class was generated from the following file: