Class Polar2D
Defined in File polar2d.hpp
Inheritance Relationships
Base Type
public tuw::Point2D
(Class Point2D)
Class Documentation
-
class Polar2D : public tuw::Point2D
class to represent a point with rho and alpha
Public Functions
-
Polar2D()
-
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
-
Polar2D()