|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.geography.coordinates.Orientation
public class Orientation
The Orientation abstract contains a 3x3 matrix and a reference location.
BaseSRF_3D| Constructor Summary | |
|---|---|
protected |
Orientation(BaseSRF srf,
Coord3D ref_coord,
double[][] mtx)
Constructor, requires an SRF, 3 reference coordinate values, and 3 direction values. |
| Method Summary | |
|---|---|
void |
copyTo(Orientation ori)
Copies the matrix component values of this orientation to the input orientation. |
void |
getDirectionComp(int n,
Direction dir)
Returns the Nth row of the Orientation matrix 3x3 in the form of a Direction object. |
void |
getDirectionComp1(Direction dir)
Returns the 1st row of the Orientation matrix 3x3 in the form of a Direction object. |
void |
getDirectionComp2(Direction dir)
Returns the 2nd row of the Orientation matrix 3x3 in the form of a Direction object. |
void |
getDirectionComp3(Direction dir)
Returns the 3rd row of the Orientation matrix 3x3 in the form of a Direction object. |
protected Coord3D |
getInternalRefCoord()
|
double[][] |
getMatrix()
|
Coord3D |
getRefCoord()
|
BaseSRF |
getSRF()
|
boolean |
isEqual(Orientation ori)
Returns TRUE if the Orientaqtion parameters are "Equal" |
Orientation |
makeClone()
Returns the shallow copy of this object instance. |
void |
setDirectionComp(Direction dir1,
Direction dir2,
Direction dir3)
Sets rows of the Orientation matrix 3x3 using the vectors from 3 Direction objects. |
void |
setDirectionComp(int n,
Direction dir)
Sets Nth rows of the Orientation matrix 3x3 using the vector from the Direction object. |
void |
setMatrix(double[][] mtx)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Orientation(BaseSRF srf,
Coord3D ref_coord,
double[][] mtx)
| Method Detail |
|---|
public BaseSRF getSRF()
public Coord3D getRefCoord()
throws SrmException
SrmExceptionpublic double[][] getMatrix()
public void getDirectionComp1(Direction dir)
throws SrmException
SrmException
public void getDirectionComp2(Direction dir)
throws SrmException
SrmException
public void getDirectionComp3(Direction dir)
throws SrmException
SrmException
public void getDirectionComp(int n,
Direction dir)
throws SrmException
SrmException
public void setDirectionComp(Direction dir1,
Direction dir2,
Direction dir3)
throws SrmException
SrmException
public void setDirectionComp(int n,
Direction dir)
throws SrmException
SrmException
public void setMatrix(double[][] mtx)
throws SrmException
SrmException
public Orientation makeClone()
throws SrmException
SrmException
public void copyTo(Orientation ori)
throws SrmException
SrmExceptionpublic boolean isEqual(Orientation ori)
public java.lang.String toString()
toString in class java.lang.Objectprotected Coord3D getInternalRefCoord()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||