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

Last Updated: 12 June, 2024