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): Vector2d | undefined Parameter Type Description denominator number result Vector2d Returns - Vector2d | undefined Defined in core/geometry/src/geometry3d/Point2dVector2d.ts Line 337 Last Updated: 15 June, 2021