Vector2D.create Method
Parent Object: Vector2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Vector2D.h>
Description
Creates a 2D vector object.
Syntax
This is a static method.
|
Return Value
Type | Description |
Vector2D | Returns the new Vector2D object or null if the creation failed. |
Parameters
Name | Type | Description |
x | double | The x coordinate of the vector. This is an optional argument whose default value is 0.0. |
y | double | The y coordinate of the vector. This is an optional argument whose default value is 0.0. |