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