apps.lightrays.raytracer.scene
Class Point

java.lang.Object
  extended by apps.lightrays.raytracer.scene.Point

public class Point
extends java.lang.Object

The Class Point.


Field Summary
 double x
          The x.
 double y
          The y.
 double z
          The z.
 
Constructor Summary
Point(double x, double y, double z)
          Instantiates a new point.
Point(Point p)
          Instantiates a new point.
 
Method Summary
 void add(Point p)
          Adds the.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x
The x.


y

public double y
The y.


z

public double z
The z.

Constructor Detail

Point

public Point(double x,
             double y,
             double z)
Instantiates a new point.

Parameters:
x - the x
y - the y
z - the z

Point

public Point(Point p)
Instantiates a new point.

Parameters:
p - the p
Method Detail

add

public void add(Point p)
Adds the.

Parameters:
p - the p

toString

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