On 23-6-2013 19:03, Adam Wulkiewicz wrote:
Not always: the centroid of the point just returns the point. A
centroid of a circle would just return its center, provided the
Point-type equals the Point-type the circle is based on.
OK I understand that now. That needs an additional type (e.g.
centroid_of_box) which calculates the x and y (and z) each time it
is accessed. I don't know if I would really prefer that above a
one-time calculation and extra storage of only one point...
Thanks for the clarifications. I understand it now but would never
use that - way to inefficient. Is there really need for this?
The envelope does that too (calculating bounding objects of
arbitrary type) - what is exactly the difference?