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