API Reference > geometry-core > CartesianGeometry > Vector2d > safeDivideOrNull 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 337 Last Updated: 11 June, 2024