CVBpy 14.1
Vector2D Class Reference

Multi-purpose 2D vector class. More...

Inherits object.

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.
 

Detailed Description

Multi-purpose 2D vector class.

Creates a point.

Parameters

x : float Data to initialize with.

y : float Data to initialize with.