OEGetCenterAndExtents

void OEGetCenterAndExtents(const OESurface &surf, float *center, float *extents)

Iterates through all the vertices in surf to find the center and extents of the surface in Cartesian coordinates. The center will be placed in the memory pointed to by center that should be large enough to hold 3 floats. The extents will be placed in the memory pointed to by extents that should be large enough to hold 3 floats. The extents are the difference between the maximum of the surface along any dimension and the minimum along that same dimension.