pogr1_holec
Class BasicGeometry
java.lang.Object
pogr1_holec.BasicGeometry
public class BasicGeometry
- extends java.lang.Object
This class implements static methods for operations with points and edges.
It sorts points according to X or Y axis position and check edges intersection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicGeometry
public BasicGeometry()
FindIntersectionPoint
public static double[] FindIntersectionPoint(line l1,
line l2,
double epsilon)
getPointsByY
public static point[] getPointsByY(java.util.ArrayList<line> inpLines)
getSetOfPointsByY
public static point[] getSetOfPointsByY(java.util.ArrayList<point> inpPoints)
FindSmallestCircleOfSetOfPoints
public static circle FindSmallestCircleOfSetOfPoints(java.util.ArrayList<point> inpPoints)