Java tutorial
import java.awt.geom.Ellipse2D; import java.awt.geom.Point2D; public class Main { public static void main(String args[]) { Ellipse2D.Double e = new Ellipse2D.Double(1.0, 2.0, 2.0, 2.0); e.contains(2.0, 2.0); } }