at.tuwien.ifs.somtoolbox.util
Class Point3d
java.lang.Object
at.tuwien.ifs.somtoolbox.util.Point3d
public class Point3d
- extends Object
A representation of a 3-dimensional point, similar to Point
, but using double (or float (Float
)
precision.
- Version:
- $Id: Point3d.java 3583 2010-05-21 10:07:41Z mayer $
- Author:
- Rudolf Mayer
Field Summary |
double |
x
|
double |
y
|
double |
z
|
x
public double x
y
public double y
z
public double z
Point3d
public Point3d()
Point3d
public Point3d(double x,
double y,
double z)
getX
public double getX()
getY
public double getY()
getZ
public double getZ()
distance
public double distance(Point3d other)
- Returns the Euclidean distance between this point and the other.
clone
public Object clone()
- Overrides:
clone
in class Object