org.kabeja.dxf.helpers
Class Vector

java.lang.Object
  extended by org.kabeja.dxf.helpers.Point
      extended by org.kabeja.dxf.helpers.Vector

public class Vector
extends Point

Author:
Field Summary
 
Fields inherited from class org.kabeja.dxf.helpers.Point
x, y, z
 
Constructor Summary
Vector()
           
Vector(double x, double y, double z)
           
Vector(Point p)
           
 
Method Summary
 double getLength()
           
 void normalize()
           
 
Methods inherited from class org.kabeja.dxf.helpers.Point
equals, getX, getY, getZ, setX, setY, setZ, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vector

public Vector()

Vector

public Vector(Point p)

Vector

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

getLength

public double getLength()

normalize

public void normalize()