template<class T, class U>
void OEGeom3DGetCenterAndExtents(const T *xyz, unsigned int ncoord, U *center,
                                 U *extents)

Determines the bounding box that can encompass all the points defined by xyz and ncoord. The length of each side of the box output in the 3-element array extents. The geometric center of the box is output to the center parameter.


The center of the box is different from the center-of-mass.