unitX MethodStatic
Return a (new) Vector2d with components scale,0 If scale is not given default value 1 is used.
unitX(scale: number1): Vector2d
Parameter | Type | Description |
---|---|---|
scale | number |
Returns - Vector2d
Defined in
- geometry3d/Point2dVector2d.ts Line 385
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.