API Reference > geometry-core > CartesianGeometry > Range2d > diagonal diagonal Method return the diagonal vector. There is no check for isNull -- if the range isNull(), the vector will have very large negative coordinates. diagonal(result?: Vector2d): Vector2d Parameter Type Description result Vector2d Returns - Vector2d Defined in geometry3d/Range.ts Line 1406 Last Updated: 12 June, 2024