API Reference > Geometry-core > CartesianGeometry > Geometry > hypotenuseXY hypotenuseXY MethodStatic Return the hypotenuse sqrt(x*x + y*y). This is much faster than Math.hypot(x,y). hypotenuseXY(x: number, y: number): number Parameter Type Description x number y number Returns - number Defined in core/geometry/src/Geometry.ts Line 413 Last Updated: 13 June, 2024