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 core/geometry/src/geometry3d/Range.ts Line 1340 Last Updated: 13 June, 2024