API Reference > Geometry-core > CartesianGeometry > Geometry > distanceXYXY distanceXYXY MethodStatic Return the distance between xy points given as numbers. distanceXYXY(x0: number, y0: number, x1: number, y1: number): number Parameter Type Description x0 number x coordinate of point 0 y0 number y coordinate of point 0 x1 number x coordinate of point 1 y1 number y coordinate of point 1 Returns - number Defined in core/geometry/src/Geometry.ts Line 434 Last Updated: 13 June, 2024