How to calculate OrientedBoundingBox of a region?

There is a keyword “boundingVolume.region” in 3dtiles specification, which is used to describe the boundingVolume of a tile. It contains six params, which represent west, south, east, north, minimum height and maximum height of the region.I wonder how to get the OrientedBoundingBox of the region. Any reply will be appreciated.