API Reference > geometry-core > CartesianGeometry > Range1d > createXXOrCorrectToNull createXXOrCorrectToNull MethodStatic Create a box from two values, but null range if the values are reversed createXXOrCorrectToNull<T extends Range1d>(xA: number, xB: number, result?: T): T extends Range1d Parameter Type Description xA number first value xB number second value result T Returns - T extends Range1d Defined in core/geometry/src/geometry3d/Range.ts Line 940 Last Updated: 13 June, 2024