safeDivideOrNull Method
Return a (new or optionally reused) vector which is this
divided by denominator
- return undefined if denominator is zero.
safeDivideOrNull(denominator: number, result?: Vector2d): undefined | Vector2d
Parameter | Type | Description |
---|---|---|
denominator | number | |
result | Vector2d |
Returns - undefined | Vector2d
Defined in
- geometry3d/Point2dVector2d.ts Line 450
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.