Class FLine
java.lang.Object
|
+----FLine
- class FLine
- extends Object
The FLine class represents a line. Here, it is only used to call
its intersect() method to compute the intersection of two lines.
-
a
-
-
b
-
-
c
- The line is under the form ax+by=c
-
FLine(FPoint, FPoint)
- Creates a new FLine that goes through both a and b.
-
FLine(FPoint, FVector)
- Creates a new FLine that goes through p and is supported
by v.
-
intersect(FLine)
- The methode computes the intersection point of two
lines.
a
double a
b
double b
c
double c
- The line is under the form ax+by=c
FLine
public FLine(FPoint p,
FVector v)
- Creates a new FLine that goes through p and is supported
by v.
FLine
public FLine(FPoint a,
FPoint b)
- Creates a new FLine that goes through both a and b.
intersect
public FPoint intersect(FLine l)
- The methode computes the intersection point of two
lines. We use the JAMA matrix package (see
http://math.nist.gov/javanumerics/jama/
for details).