Multi-purpose 2D vector class. More...
Inherits object.
Public Member Functions | |
| None | Vector2D (self, float x=0.0, float y=0.0) |
| Creates a point. More... | |
Properties | |
| length = property | |
| float: Get or set the length of the vector represented by this point object. | |
| phi = property | |
| cvb.Angle: Get or set the orientation of the vector represented by this point object. | |
| x = property | |
| float: Gets or sets the x-component of the point. | |
| y = property | |
| float: Get or set the y-component of the point. | |
Multi-purpose 2D vector class.
| None Vector2D | ( | self, | |
| float | x = 0.0, |
||
| float | y = 0.0 |
||
| ) |
Creates a point.
x : float Data to initialize with.
y : float Data to initialize with.