Java tutorial
//package com.java2s; public class Main { /** * Get start value of the bounding rectangle of the given points. */ public static float getRectLeft(float[] points) { return Math.min(Math.min(Math.min(points[0], points[2]), points[4]), points[6]); } }