Class Polar2D

Inheritance Relationships

Base Type

Class Documentation

class Polar2D : public tuw::Point2D

class to represent a point with rho and alpha

Public Functions

Polar2D()
Polar2D(const Point2D &p)
Polar2D(double alpha, double rho)
Polar2D(double alpha, double rho, double h)
const double &alpha() const

angle to origin

Returns:

alpha

Returns:

alpha

double &alpha()

angle to origin

Returns:

alpha

Returns:

alpha

const double &rho() const

distance to origin

Returns:

rho component

Returns:

rho component

double &rho()

distance to origin

Returns:

rho component

Returns:

rho component

Point2D point() const
Returns:

point in cartesian space