|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.geography.coordinates.BaseSRF
org.jscience.geography.coordinates.BaseSRF_3D
public abstract class BaseSRF_3D
The BaseSRF_3D abstract class is the base class for the 3D SRFs.
BaseSRF, BaseSRF_2D| Field Summary |
|---|
| Fields inherited from class org.jscience.geography.coordinates.BaseSRF |
|---|
_hsr, _internalSRFs, _myOpSeq, _mySrftCode, _orm |
| Constructor Summary | |
|---|---|
BaseSRF_3D()
|
|
| Method Summary | |
|---|---|
static double |
calculateEuclideanDistance(Coord3D coord1,
Coord3D coord2)
Returns the euclidean distance between two coordinates. |
SRM_Coordinate_Valid_Region_Code |
changeCoordinate3DSRF(Coord3D src,
Coord3D tgt)
Changes a coordinate's values to this SRF. |
SRM_Coordinate_Valid_Region_Code |
changeDirectionSRF(Direction src_dir,
Direction tgt_dir)
Changes a direction's reference coordinate and vector to this SRF. |
SRM_Coordinate_Valid_Region_Code |
changeOrientationSRF(Orientation src_ori,
Orientation tgt_ori)
Changes an orientation's values to this SRF. |
SRM_Coordinate_Valid_Region_Code |
checkDirection(Direction direction)
Check a direction in this SRF. |
SRM_Coordinate_Valid_Region_Code |
checkOrientation(Orientation orientation)
Check an orientation in this SRF. |
abstract Coord3D |
createCoordinate3D()
Creates a 3D coordinate object. |
abstract Coord3D |
createCoordinate3D(double coord_comp1,
double coord_comp2,
double coord_comp3)
Creates a 3D coordinate object. |
Direction |
createDirection()
Creates a direction object with reference location and vector components as Double.NaN. |
Direction |
createDirection(Coord3D ref_coord,
double[] vec)
Creates a direction object. |
Orientation |
createOrientation()
Creates an Orientation object with a reference location and matrix components as Double.NaN. |
Orientation |
createOrientation(Coord3D ref_coord,
Direction dir1,
Direction dir2,
Direction dir3)
Creates an Orientation object with a reference location and three Direction objects as the 3x3 Orientation matrix. |
Orientation |
createOrientation(Coord3D ref_coord,
double[][] mtx)
Creates an orientation object. |
double[] |
getCoordinate3DValues(Coord3D coord)
Retrieves the 3D coordinate component values. |
void |
getDirectionValues(Direction direction,
Coord3D ref_coord,
double[] vec)
Retrieves the direction component values. |
protected int |
getMemberCode(double[] src_coord,
SRM_ORM_Code orm_dst,
SRM_HSR_Code hsr_dst,
SRM_SRFS_Code tgt_srfs)
|
BaseSRF_3D |
getNaturalSRFSetMember(Coord3D src_coord,
SRM_ORM_Code orm_dst,
SRM_HSR_Code hsr_dst,
SRM_SRFS_Code tgt_srfs)
Returns the natural SRF Set member instance that the 3D coordinate is located in the target SRF Set. |
int |
getNaturalSRFSetMemberCode(Coord3D src_coord,
SRM_ORM_Code orm_dst,
SRM_HSR_Code hsr_dst,
SRM_SRFS_Code tgt_srfs)
Computes the natural SRF Set member code (region) where the 3D coordinate is located in the target SRF Set. |
void |
getOrientationValues(Orientation orientation,
Coord3D ref_coord,
double[][] mtx)
Retrieves the orientation component values. |
Coord3D |
instanceAbstractSpaceCoordinate(Coord3D src_coord,
Orientation orientation)
Instances a 3D source coordinate and orientation into this SRF. |
| Methods inherited from class org.jscience.geography.coordinates.BaseSRF |
|---|
calculateEuclideanDistance, changeCoordinateSRF, checkCoordinate, createSRFSetMember, createStandardSRF, get_hsr, get_orm, getSRFCode, getSRFSetCode, getSRFSetMemberCode, getSRFTemplateCode, isEqual, makeClone, setSrfCode, setSrfSetCode, setSrfSetMemberCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseSRF_3D()
| Method Detail |
|---|
public abstract Coord3D createCoordinate3D()
public abstract Coord3D createCoordinate3D(double coord_comp1,
double coord_comp2,
double coord_comp3)
coord_comp1 - in: the values of the first component of the 3D coordinatecoord_comp2 - in: the values of the second component of the 3D coordinatecoord_comp3 - in: the values of the third component of the 3D coordinate
public double[] getCoordinate3DValues(Coord3D coord)
throws SrmException
coord - in: a 3D coordinate
SrmException
public SRM_Coordinate_Valid_Region_Code changeCoordinate3DSRF(Coord3D src,
Coord3D tgt)
throws SrmException
src - in: the source 3D coordinate in some other 3D SRFtgt - in out: the target coordinate in this 3D SRF
SrmException
public Direction createDirection(Coord3D ref_coord,
double[] vec)
throws SrmException
ref_coord - in: the 3D reference coordinate in this SRF.vec[] - in: the array of size 3 containing the vector component values. It can
be changed after the direction is created.
SrmException
public Direction createDirection()
throws SrmException
SrmException
public void getDirectionValues(Direction direction,
Coord3D ref_coord,
double[] vec)
throws SrmException
direction - in: the direction objectref_coord - in/out: the 3D reference coordinate in this SRFvec[] - in/out: the 3D reference coordinate in this SRF
SrmException
public SRM_Coordinate_Valid_Region_Code changeDirectionSRF(Direction src_dir,
Direction tgt_dir)
throws SrmException
src_dir - in: the source direction in some other SRFtgt_dir - in/out: the target direction in this SRF
SrmException
public SRM_Coordinate_Valid_Region_Code checkDirection(Direction direction)
throws SrmException
direction - in: the direction in this SRF
SrmException
public Orientation createOrientation(Coord3D ref_coord,
double[][] mtx)
throws SrmException
ref_coord - in: the 3D reference coordinate in this SRFmtx[][] - in: the 3x3 matrix containing the three vector component values
SrmException
public Orientation createOrientation(Coord3D ref_coord,
Direction dir1,
Direction dir2,
Direction dir3)
throws SrmException
SrmException
public Orientation createOrientation()
throws SrmException
SrmException
public void getOrientationValues(Orientation orientation,
Coord3D ref_coord,
double[][] mtx)
throws SrmException
orientation - in: the orientaiton objectref_coord - in/out: the 3D reference coordinate in this SRFmtx[] - in/out: the 3D reference coordinate in this SRF
SrmException
public SRM_Coordinate_Valid_Region_Code checkOrientation(Orientation orientation)
throws SrmException
orientation - in: the orientation in this SRF
SrmException
public SRM_Coordinate_Valid_Region_Code changeOrientationSRF(Orientation src_ori,
Orientation tgt_ori)
throws SrmException
src_ori - in: the source orientation in some other SRF
SrmException
public Coord3D instanceAbstractSpaceCoordinate(Coord3D src_coord,
Orientation orientation)
throws SrmException
src_coord - in: the source coordinate to be instantiated in this SRForientation - in: the orientation to be instantiated in this SRF
SrmException
public static double calculateEuclideanDistance(Coord3D coord1,
Coord3D coord2)
throws SrmException
coord1 - in: a coordinate in some SRFcoord2 - in: a coordinate in some SRF
SrmException
public int getNaturalSRFSetMemberCode(Coord3D src_coord,
SRM_ORM_Code orm_dst,
SRM_HSR_Code hsr_dst,
SRM_SRFS_Code tgt_srfs)
throws SrmException
src_coord - in : the source 3D coordinate in an SRForm_dst - in : the ORM for the destination SRF Sethsr_dst - in : the HSR for the destination SRF Settgt_srfs - in : the destination SRF Set Code
SrmException
public BaseSRF_3D getNaturalSRFSetMember(Coord3D src_coord,
SRM_ORM_Code orm_dst,
SRM_HSR_Code hsr_dst,
SRM_SRFS_Code tgt_srfs)
throws SrmException
src_coord - in : the source 3D coordinate in an SRForm_dst - in : the ORM for the destination SRF Sethsr_dst - in : the HSR for the destination SRF Settgt_srfs - in : the destination SRF Set Code
SrmException
protected int getMemberCode(double[] src_coord,
SRM_ORM_Code orm_dst,
SRM_HSR_Code hsr_dst,
SRM_SRFS_Code tgt_srfs)
throws SrmException
SrmException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||