public class AnalytycLine
extends java.lang.Object
Constructor and Description |
---|
AnalytycLine(int x1,
int y1,
int x2,
int y2) |
Modifier and Type | Method and Description |
---|---|
double |
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) |
public AnalytycLine(int x1, int y1, int x2, int y2) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public double getX(double y)
public double getY(double x)
public boolean isInLine(double tolerance, double x, double y)
public boolean isInLine(int x, int y)
public boolean isInHalfPlane1(double x, double y)
public boolean isInHalfPlane2(double x, double y)
public boolean isInHalfPlane1(int x, int y)
public boolean isInHalfPlane2(int x, int y)
public static void main(java.lang.String[] args)