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 438
Last Updated: 20 June, 2023