public class CartesianPoint
extends javax.vecmath.Point3d
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl/language
License of use: Lesser
General Public License (LGPL) , no warranty
| Constructor and Description |
|---|
CartesianPoint()
constructs a new CartesianPoint
|
CartesianPoint(double[] xyz)
constructs a new CartesianPoint
|
CartesianPoint(double x,
double y,
double z)
constructs a new CartesianPoint
|
CartesianPoint(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
|
| Modifier and Type | Method and Description |
|---|---|
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
|
distance, distanceL1, distanceLinf, distanceSquared, projectabsolute, absolute, add, add, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, get, getX, getY, getZ, hashCode, interpolate, interpolate, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, scaleAdd, set, set, set, set, setX, setY, setZ, sub, sub, toStringpublic 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(Point2D point2D)
point2D - a 2D pointpublic CartesianPoint()
public Point2D to2D()
public SphericalPoint toCartesianPoint()
public static SphericalPoint toSphericalPoint(CartesianPoint point)
point - the cartesian pointCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.