API CreateVector2D

Creates a new vector which inherits the methods of Vector2DMixin or Vector3DMixin. vector = CreateVector2D(x, y) vector = CreateVector3D(x, y, z)

Arguments

 * x, y, z : - Cartesian coordinates.

Returns

 * vector : - A Vector2DMixin or Vector3DMixin.