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