subscript.geom
Class GPoint3D

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

public class GPoint3D
extends java.lang.Object


Constructor Summary
GPoint3D()
           
GPoint3D(double[] p)
           
GPoint3D(double x, double y, double z)
           
GPoint3D(GPoint2D p)
           
 
Method Summary
 double distanceTo(GPoint3D p)
           
 double getX()
           
 double getY()
           
 double getZ()
           
 GPoint3D plus(GPoint3D p)
           
 double squaredDistanceTo(GPoint3D p)
           
 java.lang.String toString()
           
 GPoint3D transform(Matrix T)
           
 GPoint3D transform(Transform3D T)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GPoint3D

public GPoint3D()

GPoint3D

public GPoint3D(GPoint2D p)

GPoint3D

public GPoint3D(double[] p)

GPoint3D

public GPoint3D(double x,
                double y,
                double z)
Method Detail

getX

public double getX()

getY

public double getY()

getZ

public double getZ()

plus

public GPoint3D plus(GPoint3D p)

squaredDistanceTo

public double squaredDistanceTo(GPoint3D p)

distanceTo

public double distanceTo(GPoint3D p)

transform

public GPoint3D transform(Transform3D T)

transform

public GPoint3D transform(Matrix T)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object