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<T>>(xA: number, xB: number, result?: T): T Parameter Type Description xA number first value xB number second value result T Returns - T Defined in geometry3d/Range.ts Line 963 Last Updated: 11 June, 2024