|
||||||||||
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
nl.tudelft.simulation.language.d3.DirectedPoint
public class DirectedPoint
The location object.
(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
Field Summary |
---|
Fields inherited from class javax.vecmath.Tuple3d |
---|
x, y, z |
Constructor Summary | |
---|---|
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(Point3d cartesianPoint)
constructs a new DirectedPoint |
|
DirectedPoint(Point3f point)
constructs a new DirectedPoint |
|
DirectedPoint(SphericalPoint sphericalPoint)
constructs a new DirectedPoint |
|
DirectedPoint(Tuple3d tuple)
constructs a new DirectedPoint |
|
DirectedPoint(Tuple3f tuple)
constructs a new DirectedPoint |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object arg0)
|
boolean |
equals(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()
|
Methods inherited from class nl.tudelft.simulation.language.d3.CartesianPoint |
---|
to2D, toCartesianPoint, toSphericalPoint |
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, 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 |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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(Point3d cartesianPoint)
cartesianPoint
- the cartesianPointpublic DirectedPoint(SphericalPoint sphericalPoint)
sphericalPoint
- the sphericalPointpublic DirectedPoint(DirectedPoint location)
location
- the locationpublic DirectedPoint(Point2D point2D)
point2D
- the pointpublic DirectedPoint(Point3f point)
point
- the pointpublic DirectedPoint(Tuple3d tuple)
tuple
- the pointpublic DirectedPoint(Tuple3f tuple)
tuple
- the pointMethod Detail |
---|
public 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 Tuple3d
Object.toString()
public Object clone()
clone
in class Tuple3d
Object.clone()
public boolean equals(Object arg0)
equals
in class Tuple3d
Object.equals(java.lang.Object)
public boolean equals(Tuple3d arg0)
equals
in class Tuple3d
Tuple3d.equals(javax.vecmath.Tuple3d)
public int hashCode()
hashCode
in class Tuple3d
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |