commandline.ImageStuff.util
Class myVector

java.lang.Object
  extended by commandline.ImageStuff.util.myVector

public class myVector
extends java.lang.Object


Constructor Summary
myVector()
           
myVector(float x, float y, float z)
           
myVector(Loc begin, Loc eind)
           
myVector(Pixel begin, Pixel eind)
           
myVector(Punt_3D begin, Punt_3D eind)
           
 
Method Summary
 void add(myVector v)
           
 myVector getNormale()
           
 float getX()
           
 float getY()
           
 float getZ()
           
 void multiply(float alpha)
           
 float norm()
           
 void normeer()
           
 void print()
           
 float rico_met_XY()
           
 float scalair(myVector v)
           
 void setX(float x)
           
 void setXYZ(float x, float y, float z)
           
 void setY(float y)
           
 void setZ(float z)
           
 myVector vectorieelProduct(myVector v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

myVector

public myVector()

myVector

public myVector(Punt_3D begin,
                Punt_3D eind)

myVector

public myVector(Loc begin,
                Loc eind)

myVector

public myVector(Pixel begin,
                Pixel eind)

myVector

public myVector(float x,
                float y,
                float z)
Method Detail

normeer

public void normeer()

norm

public float norm()

setXYZ

public void setXYZ(float x,
                   float y,
                   float z)

add

public void add(myVector v)

multiply

public void multiply(float alpha)

setX

public void setX(float x)
Parameters:
x - The x to set.

setY

public void setY(float y)
Parameters:
y - The y to set.

setZ

public void setZ(float z)
Parameters:
z - The z to set.

getX

public float getX()
Returns:
Returns the x.

getY

public float getY()
Returns:
Returns the y.

getZ

public float getZ()
Returns:
Returns the z.

vectorieelProduct

public myVector vectorieelProduct(myVector v)

scalair

public float scalair(myVector v)

rico_met_XY

public float rico_met_XY()

getNormale

public myVector getNormale()

print

public void print()