|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgeometry.Coordinate
This base class defines universal coordinates. The right-handed system is setup.
コンストラクタの概要 | |
Coordinate()
Constructor. |
|
Coordinate(J3Vector origin)
Constructor. |
|
Coordinate(J3Vector origin,
J3UnitVector ex,
J3UnitVector ez)
Constructor. |
メソッドの概要 | |
double |
getAzimuthInPolar(J3Vector a)
Convert Cartesian to Poler coordinate system. |
J3Vector |
getEx()
Get x axis direction. |
J3Vector |
getEy()
Get y axis direction. |
J3Vector |
getEz()
Get z axis direction. |
double |
getLengthInPolar(J3Vector a)
Convert Cartesian to Poler coordinate system. |
J3Vector |
getOrigin()
Get the origin of the coordinate system. |
J3Vector |
getPointVectorFromPolarCoordinate(double r,
double theta,
double phi)
get a point vector for a given Poler system. |
double |
getZenithInPolar(J3Vector a)
Convert Cartesian to Poler coordinate system. |
void |
rotate(int axis,
double theta)
Rotate the coordinate system. |
void |
setOrigin(J3Vector orizin)
Set the origin of the coordinate system. |
void |
transformThisCoordinate(J3UnitVector nz,
double alpha)
transform this coordiante to one with the external z-axis vector nz. |
J3UnitVector |
transformUnitVectorToThisCoordinate(J3UnitVector n)
Transform unit vector (direction) J3UnitVector n represented in the different coordinate system to the one in this coordinate. |
J3Vector |
transformVectorToThisCoordinate(J3Vector r,
Coordinate external)
Transform vector point J3Vector r represented in the external coordinate system to the one in this coordinate. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public Coordinate()
public Coordinate(J3Vector origin)
public Coordinate(J3Vector origin, J3UnitVector ex, J3UnitVector ez)
メソッドの詳細 |
public double getLengthInPolar(J3Vector a)
public double getZenithInPolar(J3Vector a)
public double getAzimuthInPolar(J3Vector a)
public J3Vector getPointVectorFromPolarCoordinate(double r, double theta, double phi)
public void rotate(int axis, double theta)
Rotation angle "theta" sign + for clockwise - for anti-clockwise
public void transformThisCoordinate(J3UnitVector nz, double alpha)
J3UnitVector nz : new z-axis direction. This vector has to be described by unit base vectors of THIS coordinate before applying this transformation. double alpha : the final rotation angle [rad] to determine the x and y axis directions.
public void setOrigin(J3Vector orizin)
public J3Vector getEx()
public J3Vector getEy()
public J3Vector getEz()
public J3Vector getOrigin()
public J3Vector transformVectorToThisCoordinate(J3Vector r, Coordinate external)
J3Vector r : point vector that will be transfomed to this corrdinate. Coordinate external: the cordinate system that describes the vector r.
public J3UnitVector transformUnitVectorToThisCoordinate(J3UnitVector n)
J3UnitVector n : direction vector that will be transfomed to this corrdinate.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |