MVT API

math.objects
Class Point4D

java.lang.Object
  |
  +--math.objects.Point3D
        |
        +--math.objects.Point4D

public class Point4D
extends Point3D

The class Point4D is similar to Point2D.Double.

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 t
          The member variable t represents the time-coordinate of the point.
 
Fields inherited from class math.objects.Point3D
x, y, z
 
Constructor Summary
Point4D(double x, double y, double z, double t)
          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

t

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

Constructor Detail

Point4D

public Point4D(double x,
               double y,
               double z,
               double t)
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 Point3D
Returns:
a String value

MVT API

mvt.icons