edu.jhu.ece.iacl.jist.structures.fiber
Class XYZ

java.lang.Object
  extended by Point3f
      extended by edu.jhu.ece.iacl.jist.structures.geom.PT
          extended by edu.jhu.ece.iacl.jist.structures.fiber.XYZ

public class XYZ
extends PT

Created by IntelliJ IDEA. User: bennett Date: Dec 6, 2005 Time: 4:44:08 PM To change this template use Options | File Templates.


Constructor Summary
XYZ()
          Instantiates a new xYZ.
XYZ(float X, float Y, float Z)
          Instantiates a new xYZ.
 
Method Summary
 XYZ deepClone()
          Deep clone.
 double distance(XYZ pt)
          Distance.
static XYZ read(LEFileReader fp)
          Read.
 void scale(double a)
          Scale.
 void scale(double a, double b, double c)
          Scale.
 void scale(float a, float b, float c)
          Scale.
 Point3f toPoint3f()
          To point3f.
 java.lang.String toString()
           
 
Methods inherited from class edu.jhu.ece.iacl.jist.structures.geom.PT
cross, dot, equals, length, minus, plus, times, vectorProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XYZ

public XYZ()
Instantiates a new xYZ.


XYZ

public XYZ(float X,
           float Y,
           float Z)
Instantiates a new xYZ.

Parameters:
X - the x
Y - the y
Z - the z
Method Detail

read

public static XYZ read(LEFileReader fp)
                throws java.io.IOException
Read.

Parameters:
fp - the fp
Returns:
the xYZ
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

distance

public double distance(XYZ pt)
Distance.

Parameters:
pt - the pt
Returns:
the double

scale

public void scale(double a)
Scale.

Parameters:
a - the a

scale

public void scale(float a,
                  float b,
                  float c)
Scale.

Parameters:
a - the a
b - the b
c - the c

scale

public void scale(double a,
                  double b,
                  double c)
Scale.

Parameters:
a - the a
b - the b
c - the c

toPoint3f

public Point3f toPoint3f()
To point3f.

Returns:
the point3f

toString

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

deepClone

public XYZ deepClone()
Deep clone.

Returns:
the xYZ