Java tutorial
//package com.java2s; public class Main { /** * Get bottom value of the bounding rectangle of the given points. */ public static float getRectBottom(float[] points) { return Math.max(Math.max(Math.max(points[1], points[3]), points[5]), points[7]); } }