How Can I Get The Coordinates Of The Middle Of An Area
#1

Hi everyone,

I need to find an areas middle point. E.g the areas min-max x-y coordinates are (1234.00, 2468.00, 1579.00, 3692.00). How can i find the middle point of this area?
Reply
#2

(max x - min x) / 2 + min x = mid x
(max y - min y) / 2 + min y = mid y

If my math is not wrong, but I never went to school so i'd bet its wrong
Reply
#3

May be use mid point forumula?
(x2-x1/2,y2-y1/2,z2-z1/2)
Reply
#4

Quote:
Originally Posted by Troydere
Посмотреть сообщение
(max x - min x) / 2 + min x = mid x
(max y - min y) / 2 + min y = mid y

If my math is not wrong, but I never went to school so i'd bet its wrong
Never? Got to be kidding Anyway, I'm gonna try it out. Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)