question: public static BoundingBox create ( Vector coords ) { int length = coords . size ( ) ; if ( length <= 0 ) { throw new RuntimeException ( "There must be at least 1 coordinate." ) ; } Coord [ ] coordsArray = new Coord [ length ] ; coords . copyInto ( coordsArray ) ; return create ( coordsArray ) ; }
target:  / create a smallest bounding box that contains all of the given coordinates