public class Line
extends java.lang.Object
Constructor and Description |
---|
Line(double lowerX,
double lowerY,
double upperX,
double upperY) |
Modifier and Type | Method and Description |
---|---|
boolean |
crossedBy(double[] walkerPos,
double[] step,
double[] normal,
double[] d,
boolean skipCurrent,
double origLength,
double[] intDist) |
static void |
main(java.lang.String[] args)
local entrypoint.
|
double[] |
midpoint()
returns the midpoint of the line in new array
|
double[] |
normal()
access to the normal to the line
|
public boolean crossedBy(double[] walkerPos, double[] step, double[] normal, double[] d, boolean skipCurrent, double origLength, double[] intDist)
public double[] normal()
public double[] midpoint()
public static void main(java.lang.String[] args)
args
-