Set area positions
#1

Hi. I'm trying to set positions to area, but I got no idea which one corner is minx, miny, maxx, maxy (look at 'o')

Код:
(N)

o-------o


o-------o
Reply
#2

min x means the lowest x value, same goes for the y
max x means highest x value, same for y

As x is lower the further left (west) you go and y is lower the further down (south) you go, that would mean you need the South-West and North-East corners.
Код:
(N)

o-------o


o-------o
red = max x, max y
blue = min x, min y
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)