Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Given 2 coordinates of a bounding box, bottom left.. RE: Given 2 coordinates of a bounding box, bottom left..
John Jakob
SSCommitted
Points: 1720
More actions
October 14, 2013 at 4:24 pm
#1658372
[font="Courier New"]
If what they're saying is true, the 4 coordinates are simply:
(MINX, MAXY) ------------ (MAXX, MAXY)
(MINX, MINY) ------------ (MAXX, MINY)
Height = ABS(MAXY - MINY)
Width = ABS(MAXX - MINX)
[/font]