net.sourceforge.kamiwaai.geometricalgebra
Class Line

java.lang.Object
  extended bynet.sourceforge.kamiwaai.geometricalgebra.GeometricObject
      extended bynet.sourceforge.kamiwaai.geometricalgebra.Line
All Implemented Interfaces:
HomogeneousModel, SwingDrawable

public class Line
extends GeometricObject


Field Summary
 
Fields inherited from class net.sourceforge.kamiwaai.geometricalgebra.GeometricObject
e1, e2, e3, I, L, n, N, nbar, One
 
Constructor Summary
Line(MultiVector L2)
           
Line(PointC point1, PointC point2)
           
 
Method Summary
 double distanceXY(double[] point)
           
 double distanceYZ(double[] point)
           
 void draw(java.awt.Graphics g)
           
 void drawZ(java.awt.Graphics g)
           
 MultiVector getLineVector()
           
 MultiVector getMoment()
           
 MultiVector LinePoint(double alpha)
           
 double[] linepoint3D(double alpha)
           
 MultiVector PDistance2D(double[] point, MultiVector plane)
           
 void setColor(java.awt.Color c)
           
 
Methods inherited from class net.sourceforge.kamiwaai.geometricalgebra.GeometricObject
equals, getMultiVector, hashCode, meet, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Line

public Line(MultiVector L2)

Line

public Line(PointC point1,
            PointC point2)
Method Detail

setColor

public void setColor(java.awt.Color c)

getMoment

public MultiVector getMoment()

getLineVector

public MultiVector getLineVector()

LinePoint

public MultiVector LinePoint(double alpha)

linepoint3D

public double[] linepoint3D(double alpha)

draw

public void draw(java.awt.Graphics g)

drawZ

public void drawZ(java.awt.Graphics g)

PDistance2D

public MultiVector PDistance2D(double[] point,
                               MultiVector plane)

distanceXY

public double distanceXY(double[] point)

distanceYZ

public double distanceYZ(double[] point)


Copyright © 2004 Fukui University. All Rights Reserved.