API Reference > geometry-core > CartesianGeometry > Range2d > createXYXY createXYXY MethodStatic Create a box with 2 pairs of xy candidates. Theses are compared and shuffled as needed for the box. createXYXY<T extends Range2d<T>>(xA: number, yA: number, xB: number, yB: number, result?: T): T Parameter Type Description xA number yA number xB number yB number result T Returns - T Defined in geometry3d/Range.ts Line 1336 Last Updated: 12 June, 2024