#include <Complex.h>
Inherits Complex< Value >< Value >.
Inheritance diagram for Polar< Value >:
Public Member Functions | |
Polar (const Value &r, const Value &phi) | |
Polar (const Complex< Value > &) | |
Polar (const Polar &) | |
virtual void | getCartesian (Value &x, Value &y) const |
virtual void | getPolar (Value &r, Value &phi) const |
virtual void | setCartesian (const Value &x, const Value &y) |
virtual void | setPolar (const Value &r, const Value &phi) |
virtual Complex< Value > & | operator= (const Complex< Value > &) |
virtual Polar & | operator= (const Polar &) |
Private Attributes | |
Value | r |
Value | phi |
void Polar< Value >::getCartesian | ( | Value & | x, | |
Value & | y | |||
) | const [inline, virtual] |
Implements Complex< Value >.
void Polar< Value >::getPolar | ( | Value & | r, | |
Value & | phi | |||
) | const [inline, virtual] |
Implements Complex< Value >.
void Polar< Value >::setCartesian | ( | const Value & | x, | |
const Value & | y | |||
) | [inline, virtual] |
Implements Complex< Value >.
void Polar< Value >::setPolar | ( | const Value & | r, | |
const Value & | phi | |||
) | [inline, virtual] |
Implements Complex< Value >.
Complex< Value > & Polar< Value >::operator= | ( | const Complex< Value > & | ) | [inline, virtual] |
Implements Complex< Value >.
Polar< Value > & Polar< Value >::operator= | ( | const Polar< Value > & | ) | [inline, virtual] |