public class DirectedPoint extends CartesianPoint
(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 |
---|
DirectedPoint()
constructs a new DirectedPoint
|
DirectedPoint(DirectedPoint location)
constructs a new DirectedPoint
|
DirectedPoint(double[] xyz)
constructs a new DirectedPoint
|
DirectedPoint(double x,
double y,
double z)
constructs a new DirectedPoint
|
DirectedPoint(double x,
double y,
double z,
double rotX,
double rotY,
double rotZ)
constructs a new DirectedPoint
|
DirectedPoint(Point2D point2D)
constructs a new DirectedPoint
|
DirectedPoint(Point2D point2D,
double rotZ)
constructs a new DirectedPoint
|
DirectedPoint(javax.vecmath.Point3d cartesianPoint)
constructs a new DirectedPoint
|
DirectedPoint(javax.vecmath.Point3f point)
constructs a new DirectedPoint
|
DirectedPoint(SphericalPoint sphericalPoint)
constructs a new DirectedPoint
|
DirectedPoint(javax.vecmath.Tuple3d tuple)
constructs a new DirectedPoint
|
DirectedPoint(javax.vecmath.Tuple3f tuple)
constructs a new DirectedPoint
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object arg0) |
boolean |
equals(javax.vecmath.Tuple3d arg0) |
double |
getRotX()
returns the rotX value
|
double |
getRotY()
returns ther rotY-value
|
double |
getRotZ()
returns the rotZ value
|
int |
hashCode() |
void |
setRotX(double rotX)
sets the rotX
|
void |
setRotY(double rotY)
sets the rotY
|
void |
setRotZ(double rotZ)
sets the rotZ value
|
String |
toString() |
to2D, toCartesianPoint, toSphericalPoint
distance, distanceL1, distanceLinf, distanceSquared, project
absolute, absolute, add, add, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, epsilonEquals, get, get, getX, getY, getZ, interpolate, interpolate, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, scaleAdd, set, set, set, set, setX, setY, setZ, sub, sub
public DirectedPoint()
public DirectedPoint(double x, double y, double z)
x
- the x valuey
- the y valuez
- the z valuepublic DirectedPoint(double x, double y, double z, double rotX, double rotY, double rotZ)
x
- the x valuey
- the y valuez
- the z valuerotX
- rotXrotY
- rotYrotZ
- rotZpublic DirectedPoint(Point2D point2D, double rotZ)
point2D
- the pointrotZ
- rotZpublic DirectedPoint(double[] xyz)
xyz
- the xyx valuepublic DirectedPoint(javax.vecmath.Point3d cartesianPoint)
cartesianPoint
- the cartesianPointpublic DirectedPoint(SphericalPoint sphericalPoint)
sphericalPoint
- the sphericalPointpublic DirectedPoint(DirectedPoint location)
location
- the locationpublic DirectedPoint(Point2D point2D)
point2D
- the pointpublic DirectedPoint(javax.vecmath.Point3f point)
point
- the pointpublic DirectedPoint(javax.vecmath.Tuple3d tuple)
tuple
- the pointpublic DirectedPoint(javax.vecmath.Tuple3f tuple)
tuple
- the pointpublic double getRotY()
public void setRotY(double rotY)
rotY
- the rotY-valuepublic double getRotZ()
public void setRotZ(double rotZ)
rotZ
- the rotZ-valuepublic double getRotX()
public void setRotX(double rotX)
rotX
- rotX-valuepublic String toString()
toString
in class javax.vecmath.Tuple3d
Object.toString()
public Object clone()
clone
in class javax.vecmath.Tuple3d
Object.clone()
public boolean equals(Object arg0)
equals
in class javax.vecmath.Tuple3d
Object.equals(java.lang.Object)
public boolean equals(javax.vecmath.Tuple3d arg0)
equals
in class javax.vecmath.Tuple3d
Tuple3d.equals(javax.vecmath.Tuple3d)
public int hashCode()
hashCode
in class javax.vecmath.Tuple3d
Object.hashCode()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.