| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgeometry.J3Vector
geometry.J3Line
public class J3Line
This class describes line in three dimensional space. It provides a point vector along a given line represented as r = r0 + l x n where l is the length long the line, n is the unit vector. and the relevant operations.
| Constructor Summary | |
|---|---|
J3Line(J3Vector fixedPoint,
       J3UnitVector n)
 | 
|
J3Line(J3Vector fixedPoint,
       J3UnitVector n,
       double l)
Constructor  | 
|
| Method Summary | |
|---|---|
 void | 
configure()
Configuration.  | 
 double | 
getAxisLength()
return the current axis length l  | 
 J3UnitVector | 
getDirection()
return the current direction  | 
 J3Vector | 
getR0()
return the current passing point  | 
 void | 
setAxisLength(double l)
set a new axis length l  | 
 void | 
setDirection(J3UnitVector n)
set a new direction  | 
 void | 
setR0(J3Vector r0)
set a new passing point  | 
| Methods inherited from class geometry.J3Vector | 
|---|
add, decrement, getAngleInDegree, getAngleInRadian, getCrossProduct, getDotProduct, getLength, getX, getY, getZ, increment, multipleFactor, putVector, setAll, setLength, setX, setY, setZ, subtract | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public J3Line(J3Vector fixedPoint,
              J3UnitVector n,
              double l)
public J3Line(J3Vector fixedPoint,
              J3UnitVector n)
| Method Detail | 
|---|
public void configure()
public void setAxisLength(double l)
public void setR0(J3Vector r0)
public void setDirection(J3UnitVector n)
public double getAxisLength()
public J3UnitVector getDirection()
public J3Vector getR0()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||