|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.vecmath.Tuple3d
javax.vecmath.Point3d
nl.tudelft.simulation.language.d3.CartesianPoint
The Point3D class with utilities to convert to point2D where the z-axis is
neglected
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary |
| Fields inherited from class javax.vecmath.Point3d |
|
| Fields inherited from class javax.vecmath.Tuple3d |
x, y, z |
| Constructor Summary | |
CartesianPoint()
constructs a new CartesianPoint |
|
CartesianPoint(double[] xyz)
constructs a new CartesianPoint |
|
CartesianPoint(double x,
double y,
double z)
constructs a new CartesianPoint |
|
CartesianPoint(java.awt.geom.Point2D point2D)
constructs a new CartesianPoint |
|
CartesianPoint(javax.vecmath.Point3d point)
constructs a new CartesianPoint |
|
CartesianPoint(javax.vecmath.Point3f point)
constructs a new CartesianPoint |
|
CartesianPoint(javax.vecmath.Tuple3d tuple)
constructs a new CartesianPoint |
|
CartesianPoint(javax.vecmath.Tuple3f tuple)
constructs a new CartesianPoint |
|
| Method Summary | |
java.awt.geom.Point2D |
to2D()
returns the 2D representation of the point |
SphericalPoint |
toCartesianPoint()
converts the point to a sperical point |
static SphericalPoint |
toSphericalPoint(CartesianPoint point)
converts a cartesian point to a sperical point |
| Methods inherited from class javax.vecmath.Point3d |
distance, distanceL1, distanceLinf, distanceSquared, project |
| Methods inherited from class javax.vecmath.Tuple3d |
absolute, absolute, add, add, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, get, hashCode, interpolate, interpolate, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, scaleAdd, set, set, set, set, sub, sub, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CartesianPoint(double x,
double y,
double z)
x - xy - yz - zpublic CartesianPoint(double[] xyz)
xyz - x,y,zpublic CartesianPoint(javax.vecmath.Point3d point)
point - point3dpublic CartesianPoint(javax.vecmath.Point3f point)
point - point3dpublic CartesianPoint(javax.vecmath.Tuple3f tuple)
tuple - tuplepublic CartesianPoint(javax.vecmath.Tuple3d tuple)
tuple - point3dpublic CartesianPoint(java.awt.geom.Point2D point2D)
point2D - a 2D pointpublic CartesianPoint()
| Method Detail |
public java.awt.geom.Point2D to2D()
public SphericalPoint toCartesianPoint()
public static SphericalPoint toSphericalPoint(CartesianPoint point)
point - the cartesian point
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||