agentland.geo
Class Point3D
java.lang.Object
|
+--agentland.geo.Point3D
- All Implemented Interfaces:
- Serializable
- public class Point3D
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Constructor Summary |
Point3D(double x,
double y,
double z)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Point3D
public Point3D(double x,
double y,
double z)
x
public double x()
y
public double y()
z
public double z()
add
public Point3D add(Point3D p)
scale
public Point3D scale(double amnt)
move
public void move(double dx,
double dy,
double dz)
abs
public double abs()
distance
public double distance(Point3D pt)