Back to project page PinchToClose.
The source code is released under:
Apache License
If you think the Android project PinchToClose listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lt.marius.pinchtoclose.algo; //w ww .j ava2s. co m public interface AreaAlgorithm extends Visualizable { public static final AreaAlgorithm TRIANGLE = new TriangleArea(); public static final AreaAlgorithm DELAUNAY = new DelaunayArea(); /** * Computes the 2D area of specified points * @param x array of the x coords of the points * @param y array of the y coords of the points * @return the size of the area */ public float area(float[] x, float []y); }