subscript.geom
Class GLine3D

java.lang.Object
  extended by subscript.geom.GLine3D

public class GLine3D
extends java.lang.Object

A 3D line


Constructor Summary
GLine3D(double dx, double dy, double dz, GPoint3D p)
           
GLine3D(GPoint3D p0, GPoint3D p1)
           
 
Method Summary
 double getDx()
           
 double getDy()
           
 double getDz()
           
 double getLineCoordinate(GPoint3D qp)
           
 GPoint3D getPointOfCoordinate(double coord)
           
 GPoint3D getPointOnLine()
           
 GPoint2D intersectionWithXyPlane()
          Where does this line pierce the XY plane?
 GPoint3D pointOnLineClosestTo(GPoint3D pin)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLine3D

public GLine3D(double dx,
               double dy,
               double dz,
               GPoint3D p)

GLine3D

public GLine3D(GPoint3D p0,
               GPoint3D p1)
Method Detail

pointOnLineClosestTo

public GPoint3D pointOnLineClosestTo(GPoint3D pin)

intersectionWithXyPlane

public GPoint2D intersectionWithXyPlane()
Where does this line pierce the XY plane?


getPointOnLine

public GPoint3D getPointOnLine()

getDx

public double getDx()

getDy

public double getDy()

getDz

public double getDz()

getLineCoordinate

public double getLineCoordinate(GPoint3D qp)

getPointOfCoordinate

public GPoint3D getPointOfCoordinate(double coord)