Class point3D

java.lang.Object
  extended bypoint3D

public class point3D
extends java.lang.Object

a class that represents a 3D point in space


Constructor Summary
point3D(double x, double y, double z)
          Constructor to create a point at x,y,z
 
Method Summary
 void rotateX(double angle)
          rotate the point about the x axis by specific angle
 void rotateY(double angle)
          rotate the point about the y axis by specific angle
 void rotateZ(double angle)
          rotate the point about the z axis by specific angle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

point3D

public point3D(double x,
               double y,
               double z)
Constructor to create a point at x,y,z

Method Detail

rotateZ

public void rotateZ(double angle)
rotate the point about the z axis by specific angle


rotateX

public void rotateX(double angle)
rotate the point about the x axis by specific angle


rotateY

public void rotateY(double angle)
rotate the point about the y axis by specific angle