commandline.ImageStuff.util
Class Punt_3D

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

public class Punt_3D
extends java.lang.Object


Field Summary
protected  float x
           
protected  float y
           
protected  float z
           
 
Constructor Summary
Punt_3D()
           
Punt_3D(float x, float y)
           
Punt_3D(float x, float y, float z)
           
 
Method Summary
 void add(myVector v)
           
static Punt_3D add(Punt_3D p1, Punt_3D p2)
           
static Punt_3D affieneComb(Punt_3D p1, float w1, Punt_3D p2, float w2)
           
 Punt_3D getcopy()
           
 int getX_Int()
           
 float getX()
           
 int getY_Int()
           
 float getY()
           
 float getZ()
           
 boolean liesOn(Punt_3D p)
           
 void print()
           
 void setX(float x)
           
 void setXYZ(float x, float y, float z)
           
 void setY(float y)
           
 void setZ(float z)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected float x

y

protected float y

z

protected float z
Constructor Detail

Punt_3D

public Punt_3D()

Punt_3D

public Punt_3D(float x,
               float y)

Punt_3D

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

setXYZ

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

liesOn

public boolean liesOn(Punt_3D p)

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.

getX_Int

public int getX_Int()

getY_Int

public int getY_Int()

getY

public float getY()
Returns:
Returns the y.

getZ

public float getZ()
Returns:
Returns the z.

print

public void print()

getcopy

public Punt_3D getcopy()

add

public static Punt_3D add(Punt_3D p1,
                          Punt_3D p2)

add

public void add(myVector v)

affieneComb

public static Punt_3D affieneComb(Punt_3D p1,
                                  float w1,
                                  Punt_3D p2,
                                  float w2)