org.cresques.impl.geo
Class Point3D

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by org.cresques.impl.geo.Point3D
All Implemented Interfaces:
Cloneable

public class Point3D
extends Point2D

Author:
"Luis W. Sevilla"

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
 
Field Summary
 double X
           
 double Y
           
 double Z
           
 
Constructor Summary
Point3D()
           
Point3D(double x, double y)
           
Point3D(double x, double y, double z)
           
Point3D(Point2D pt)
           
Point3D(Point3D pt)
           
 
Method Summary
 double getX()
           
 double getY()
           
 double getZ()
           
 void setLocation(double x, double y)
           
 void setLocation(double x, double y, double z)
           
 String toString()
           
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

X

public double X

Y

public double Y

Z

public double Z
Constructor Detail

Point3D

public Point3D()

Point3D

public Point3D(double x,
               double y)

Point3D

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

Point3D

public Point3D(Point2D pt)

Point3D

public Point3D(Point3D pt)
Method Detail

getX

public double getX()
Specified by:
getX in class Point2D

getY

public double getY()
Specified by:
getY in class Point2D

getZ

public double getZ()

setLocation

public void setLocation(double x,
                        double y)
Specified by:
setLocation in class Point2D

setLocation

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2013 gvSIG. All Rights Reserved.