API Reference > geometry-core > CartesianGeometry > Range2d > createXYXYOrCorrectToNull createXYXYOrCorrectToNull MethodStatic Create a box with 2 pairs of xy candidates. If any direction has order flip, create null. createXYXYOrCorrectToNull<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 1352 Last Updated: 11 June, 2024