panoramajoinner

Class AnalytycLine

public class AnalytycLine extends Object

Constructor Summary
AnalytycLine(int x1, int y1, int x2, int y2)
Method Summary
doublegetX(double y)
doublegetY(double x)
booleanisInHalfPlane1(double x, double y)
booleanisInHalfPlane1(int x, int y)
booleanisInHalfPlane2(double x, double y)
booleanisInHalfPlane2(int x, int y)
booleanisInLine(double tolerance, double x, double y)
booleanisInLine(int x, int y)
static voidmain(String[] args)

Constructor Detail

AnalytycLine

public AnalytycLine(int x1, int y1, int x2, int y2)

Method Detail

getX

public double getX(double y)

getY

public double getY(double x)

isInHalfPlane1

public boolean isInHalfPlane1(double x, double y)

isInHalfPlane1

public boolean isInHalfPlane1(int x, int y)

isInHalfPlane2

public boolean isInHalfPlane2(double x, double y)

isInHalfPlane2

public boolean isInHalfPlane2(int x, int y)

isInLine

public boolean isInLine(double tolerance, double x, double y)

isInLine

public boolean isInLine(int x, int y)

main

public static void main(String[] args)