Sunday, 15 September 2013

Array of points to one point in middle

Array of points to one point in middle

I got array of points:
array(
array('x' => ...,'y' => ...),
array('x' => ...,'y' => ...)
...
)
What is the best way to make those points one, that is in "avarge"
position? Is pairing and then pairing and then pairing... a good
algorithm?

No comments:

Post a Comment