Module vrOSGTypes :: Class Pnt2f
[frames] | no frames]

Class Pnt2f

 object --+    
          |    
??.instance --+
              |
             Pnt2f

Instance Methods
 
__init__(x, y)
The constructor of the Pnt2f class.
 
__reduce__()
 
__str__()
float
x()
Returns the x component.
float
y()
Returns the y component.

Inherited from unreachable.instance: __new__

Class Variables
  __instance_size__ = 32
Method Details

__init__(x, y)
(Constructor)

 

The constructor of the Pnt2f class.

Parameters:
  • x (float) - The x component.
  • y (float) - The y component.
Overrides: object.__init__

__reduce__()

 
Overrides: object.__reduce__
(inherited documentation)

__str__()
(Informal representation operator)

 
Overrides: object.__str__
(inherited documentation)

x()

 

Returns the x component.

Returns: float
The x component.

y()

 

Returns the y component.

Returns: float
The y component.