UtilitiesFunctionsgetRectFromPointsVersion: NextgetRectFromPoints CallablegetRectFromPoints(start: Point2D, end: Point2D): Rect2DBuilds a positive-size axis-aligned rectangle from any two opposite corners.Parametersstart: Point2DFirst corner point.end: Point2DOpposite corner point.Returns Rect2DRectangle with non-negative width and height.
Builds a positive-size axis-aligned rectangle from any two opposite corners.