Bounding box🔗
Calculates the axis-aligned bounding box of a set of 2D points.
Inputs🔗
points
: A N-by-2 matrix of points in any coordinate system.
Outputs🔗
frame
: A coordinate frame whose X and Y axes are aligned to those of the input coordinate system. The origin of the frame is at the upper left corner of the bounding box.size
: The size of the bounding box.