com.croftsoft.core.math.geom
Class Point3DD

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by java.awt.geom.Point2D.Double
          extended by com.croftsoft.core.math.geom.Point2DD
              extended by com.croftsoft.core.math.geom.Point3DD
All Implemented Interfaces:
Testable, PointXY, PointXYZ, Serializable, Cloneable

public class Point3DD
extends Point2DD
implements PointXYZ, Cloneable, Serializable, Testable

A mutable point in three-dimensional real space (x, y, z).

Since:
2002-02-06
Version:
2003-04-13
See Also:
Serialized Form
Author:
David Wallace Croft

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
 
Field Summary
 double z
           
 
Fields inherited from class java.awt.geom.Point2D.Double
x, y
 
Constructor Summary
Point3DD()
           
Point3DD(double x, double y, double z)
           
Point3DD(PointXYZ pointXYZ)
           
 
Method Summary
 boolean equals(Object other)
           
 double getZ()
           
 int hashCode()
           
static void main(String[] args)
           
 void setXYZ(double x, double y, double z)
           
 void setXYZ(PointXYZ pointXYZ)
           
 void setZ(double z)
           
static boolean test(String[] args)
           
 String toString()
           
 
Methods inherited from class com.croftsoft.core.math.geom.Point2DD
angleTo, distanceXY, setX, setXY, setXY, setXY, setY
 
Methods inherited from class java.awt.geom.Point2D.Double
getX, getY, setLocation
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.croftsoft.core.math.geom.PointXY
angleTo, distance, distanceXY, getX, getY
 

Field Detail

z

public double z
Constructor Detail

Point3DD

public Point3DD(double x,
                double y,
                double z)

Point3DD

public Point3DD()

Point3DD

public Point3DD(PointXYZ pointXYZ)
Method Detail

main

public static void main(String[] args)

test

public static boolean test(String[] args)

getZ

public double getZ()
Specified by:
getZ in interface PointXYZ

setXYZ

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

setXYZ

public void setXYZ(PointXYZ pointXYZ)

setZ

public void setZ(double z)

equals

public boolean equals(Object other)
Overrides:
equals in class Point2D

hashCode

public int hashCode()
Overrides:
hashCode in class Point2D

toString

public String toString()
Overrides:
toString in class Point2DD

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)