|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmath.geom3d.Point3D
public class Point3D
| Field Summary |
|---|
| Fields inherited from interface math.geom3d.Shape3D |
|---|
ACCURACY |
| Constructor Summary | |
|---|---|
Point3D()
|
|
Point3D(double x,
double y,
double z)
|
|
| Method Summary | |
|---|---|
boolean |
contains(Point3D point)
A point 'contains' another point if their euclidean distance is less than the accuracy. |
double |
getDistance(Point3D point)
get the distance of the shape to the given point, or the distance of point to the frontier of the shape in the case of a plain shape. |
double |
getX()
|
double |
getY()
|
double |
getZ()
|
void |
setLocation(Point3D point)
|
Shape3D |
transform(AffineTransform3D trans)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Point3D()
public Point3D(double x,
double y,
double z)
| Method Detail |
|---|
public double getX()
public double getY()
public double getZ()
public void setLocation(Point3D point)
public double getDistance(Point3D point)
Shape3D
getDistance in interface Shape3Dpublic boolean contains(Point3D point)
public Shape3D transform(AffineTransform3D trans)
transform in interface Shape3D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||