geometry
クラス J3Line

java.lang.Object
  拡張geometry.J3Vector
      拡張geometry.J3Line
すべての実装インタフェース:
java.io.Serializable

public class J3Line
extends J3Vector


  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.

関連項目:
直列化された形式

コンストラクタの概要
J3Line(J3Vector fixedPoint, J3UnitVector n)
           
J3Line(J3Vector fixedPoint, J3UnitVector n, double l)
          Constructor
 
メソッドの概要
 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
 
クラス geometry.J3Vector から継承したメソッド
add, decrement, getAngleInDegree, getAngleInRadian, getCrossProduct, getDotProduct, getLength, getX, getY, getZ, increment, multipleFactor, putVector, setAll, setLength, setX, setY, setZ, subtract
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

J3Line

public J3Line(J3Vector fixedPoint,
              J3UnitVector n,
              double l)
Constructor


J3Line

public J3Line(J3Vector fixedPoint,
              J3UnitVector n)
メソッドの詳細

configure

public void configure()
Configuration. The point vector components defined by the gemetrical parameters are set.


setAxisLength

public void setAxisLength(double l)
set a new axis length l


setR0

public void setR0(J3Vector r0)
set a new passing point


setDirection

public void setDirection(J3UnitVector n)
set a new direction


getAxisLength

public double getAxisLength()
return the current axis length l


getDirection

public J3UnitVector getDirection()
return the current direction


getR0

public J3Vector getR0()
return the current passing point