panoramajoinner
Class AnalytycLine
java.lang.Object
panoramajoinner.AnalytycLine
public class AnalytycLine
- extends java.lang.Object
Constructor Summary |
AnalytycLine(int x1,
int y1,
int x2,
int y2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnalytycLine
public AnalytycLine(int x1,
int y1,
int x2,
int y2)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getX
public double getX(double y)
getY
public double getY(double x)
isInLine
public boolean isInLine(double tolerance,
double x,
double y)
isInLine
public boolean isInLine(int x,
int y)
isInHalfPlane1
public boolean isInHalfPlane1(double x,
double y)
isInHalfPlane2
public boolean isInHalfPlane2(double x,
double y)
isInHalfPlane1
public boolean isInHalfPlane1(int x,
int y)
isInHalfPlane2
public boolean isInHalfPlane2(int x,
int y)
main
public static void main(java.lang.String[] args)