Question: Java Problem 1: Bounding Box Problem Given a set of points find the bounding rectangle that just contains the points. The rectangle is aligned such
Problem 1: Bounding Box Problem Given a set of points find the bounding rectangle that just contains the points. The rectangle is aligned such that the edges are horizontal and vertical - there is no need to rotate the rectangle. (Hint Basically, vou have to find the Xmax. Xmin. Ymax and Xmin of the points.) -100 Input a set of points P = [(i)i) (xn)) Output an array including the top left point coordinates of the bounding rectangle rec ree, and the width and height of the bounding rectangle width. height
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
