Package openalea :: Package plantgl :: Package math :: Module _pglmath :: Class Vector2 :: Class Polar
[frames] | no frames]

Class Polar

 object --+    
          |    
??.instance --+
              |
             Vector2.Polar

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Vector2)v) -> None : Polar(Vector2 v)
 
__reduce__(...)
helper for pickle
 
__repr__(...)
__repr__( (Polar)arg1) -> str :
 
__str__(...)
__str__( (Polar)arg1) -> str :
 
isValid(...)
isValid( (Polar)arg1) -> bool : Returns whether self is valid.

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__

Class Variables
  __instance_size__ = 24
Properties
  radius
  theta

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Vector2)v) -> None :
    Polar(Vector2 v)

    C++ signature :
        void __init__(struct _object *,class TOOLS::Vector2)

__init__( (object)arg1, (float)radius, (float)theta) -> None :
    Polar(real_t radius, real_t theta)

    C++ signature :
        void __init__(struct _object *,double,double)

Overrides: object.__init__

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(...)
(Representation operator)

 

__repr__( (Polar)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(struct TOOLS::Vector2::Polar *)

Overrides: object.__repr__

__str__(...)
(Informal representation operator)

 

__str__( (Polar)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(struct TOOLS::Vector2::Polar *)

Overrides: object.__str__

isValid(...)

 

isValid( (Polar)arg1) -> bool :
    Returns whether self is valid.

    C++ signature :
        bool isValid(struct TOOLS::Vector2::Polar {lvalue})


Property Details

radius

Get Method:
unreachable(...)
Set Method:
unreachable(...)

theta

Get Method:
unreachable(...)
Set Method:
unreachable(...)