MVT API

math.objects
Class Point3D

java.lang.Object
  |
  +--math.objects.Point3D
Direct Known Subclasses:
Point4D

public class Point3D
extends java.lang.Object

The class Point3D is similar to the Point2D.Double class and duplicates a lot of the code in the Point3D.Double class in the java3d libraries, which has not be included in this software yet.

Since:
JDK1.2
Version:
1.1
Author:
Peter Staab
, for the Mathematical Visualization Project for the Department of Applied Mathematics, University of Colorado at Boulder

Field Summary
 double x
          The member variable x represents the x-coordinate of the point.
 double y
          The member variable y represents the x-coordinate of the point.
 double z
          The member variable z represents the x-coordinate of the point.
 
Constructor Summary
Point3D(double x, double y, double z)
          Creates a new Point3D instance based on the x, y, and z coordinates of the point.
 
Method Summary
 java.lang.String toString()
          The method toString returns a string represenation of the Point3D object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x
The member variable x represents the x-coordinate of the point.


y

public double y
The member variable y represents the x-coordinate of the point.


z

public double z
The member variable z represents the x-coordinate of the point.

Constructor Detail

Point3D

public Point3D(double x,
               double y,
               double z)
Creates a new Point3D instance based on the x, y, and z coordinates of the point.

Parameters:
x - a double value
y - a double value
z - a double value
Method Detail

toString

public java.lang.String toString()
The method toString returns a string represenation of the Point3D object.

Overrides:
toString in class java.lang.Object
Returns:
a String value

MVT API

mvt.icons