Inheritance diagram for SRM.BaseSRF_3D:
Public Member Functions | |
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. | |
double[] | getCoordinate3DValues (Coord3D coord) throws SrmException |
Retrieves the 3D coordinate component values. | |
SRM_Coordinate_Valid_Region_Code | changeCoordinate3DSRF (Coord3D src, Coord3D tgt) throws SrmException |
Changes a coordinate's values to this SRF. | |
int | changeCoordinate3DArraySRF (Coord3D[] src, Coord3D[] tgt, SRM_Coordinate_Valid_Region_Code[] region) throws SrmException |
Changes an array of 3D coordinate to this SRF. | |
void | setValidRegion (int component, SRM_Interval_Type type, double lower, double upper) throws SrmException |
Set the Valid Region for this SRF. | |
void | setExtendedValidRegion (int component, SRM_Interval_Type type, double extended_lower, double lower, double upper, double extended_upper) throws SrmException |
Set the Extended Valid Region for this SRF. | |
SRM_Valid_Region_Params | getValidRegion (int component) throws SrmException |
Get the Valid Region for this SRF. | |
SRM_Extended_Valid_Region_Params | getExtendedValidRegion (int component) throws SrmException |
Get the Extended Valid Region for this SRF. | |
SRM_Coordinate_Valid_Region_Code | changeCoordinate3DSRFObject (Coord3D src, SRM_ORM_Trans_3D_Params hst, Coord3D tgt) throws SrmException |
Changes a coordinate's values to this SRF using tranformation object. | |
int | changeCoordinate3DArraySRFObject (Coord3D[] src, SRM_ORM_Trans_3D_Params hst, Coord3D[] tgt, SRM_Coordinate_Valid_Region_Code[] region) throws SrmException |
Changes an array of coordinates to this SRF using tranformation object. | |
Direction | createDirection (Coord3D ref_coord, double vec[]) throws SrmException |
Creates a direction object. | |
Direction | createDirection () throws SrmException |
Creates a direction object with reference location and vector components as Double.NaN. | |
void | getDirectionValues (Direction direction, Coord3D ref_coord, double vec[]) throws SrmException |
Retrieves the direction component values. | |
SRM_Coordinate_Valid_Region_Code | changeDirectionSRF (Direction src_dir, Direction tgt_dir) throws SrmException |
Changes a direction's reference coordinate and vector to this SRF. | |
int | changeDirectionArraySRF (Direction[] src_dir, Direction[] tgt_dir, SRM_Coordinate_Valid_Region_Code[] region) throws SrmException |
Changes an array of directions to this SRF. | |
SRM_Coordinate_Valid_Region_Code | changeDirectionSRFObject (Direction src_dir, SRM_ORM_Trans_3D_Params hst, Direction tgt_dir) throws SrmException |
Changes a direction's values to this SRF using tranformation object. | |
int | changeDirectionArraySRFObject (Direction[] src_dir, SRM_ORM_Trans_3D_Params hst, Direction[] tgt_dir, SRM_Coordinate_Valid_Region_Code[] region) throws SrmException |
Changes an array of directions to this SRF using tranformation object. | |
SRM_Coordinate_Valid_Region_Code | checkDirection (Direction direction) throws SrmException |
Check a direction in this SRF. | |
void | computeSRFOrientation (Coord3D src_ref_point, Coord3D tgt_ref_point, Orientation out_ori) throws SrmException |
This method creates an Orientation object representing the orientation of the source srf (at the source reference point) with respect to this (the target) srf (at the target reference point). | |
SRF_LCE_3D_Params | getLocalTangentFrameSRFParameters (Coord3D ref_point) throws SrmException |
Computes the parameters corresponding to the local tangent frame at the input reference coordinate. | |
void | transformOrientation (Coord3D src_ref_loc, Orientation src_ori, Coord3D tgt_ref_loc, Orientation tgt_ori) throws SrmException |
Given an orientation with respect to a local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the orientation with respect to the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. | |
SRM_Coordinate_Valid_Region_Code | transformOrientationCommonOrigin (Coord3D src_ref_loc, Orientation src_ori, Coord3D tgt_ref_loc, Orientation tgt_ori) throws SrmException |
Given an orientation with respect to a local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the orientation with respect to the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. | |
void | transformVectorInBodyFrame (Coord3D src_ref_loc, Orientation src_ori, double[] src_vec, Coord3D tgt_ref_loc, double[] tgt_vec) throws SrmException |
Given a vector in a body frame (or in general any linear reference frame) whose orientation with respect to the local tangent frame (LTF_S) that is associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. | |
SRM_Coordinate_Valid_Region_Code | transformVectorInBodyFrameCommonOrigin (Coord3D src_ref_loc, Orientation src_ori, double[] src_vec, Coord3D tgt_ref_loc, double[] tgt_vec) throws SrmException |
Given a vector in a body frame (or in general any linear reference frame) whose orientation with respect to the local tangent frame (LTF_S) that is associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. | |
void | transformVector (Coord3D src_ref_loc, double[] src_vec, Coord3D tgt_ref_loc, double[] tgt_vec) throws SrmException |
Given a vector in the local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. | |
SRM_Coordinate_Valid_Region_Code | transformVectorCommonOrigin (Coord3D src_ref_loc, double[] src_vec, Coord3D tgt_ref_loc, double[] tgt_vec) throws SrmException |
Given a vector in the local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. | |
SRF_LococentricEuclidean3D | createLococentricEuclidean3DSRF (Coord3D lococentre, Direction primary_axis, Direction secondary_axis) throws SrmException |
creates a Loccentric Euclidean 3D SRF whose origin in at the input lococentre and the primary and secodary axes are aligned with the input direction axes. | |
SRM_SRFSM_Code | getNaturalSRFSetMemberCode (Coord3D src_coord, SRM_ORM_Code orm_dst, SRM_RT_Code rt_dst, SRM_SRFS_Code tgt_srfs) throws SrmException |
Computes the natural SRF Set member code (region) where the 3D coordinate is located in the target SRF Set. | |
BaseSRF_3D | getNaturalSRFSetMember (Coord3D src_coord, SRM_ORM_Code orm_dst, SRM_RT_Code rt_dst, SRM_SRFS_Code tgt_srfs) throws SrmException |
Returns the natural SRF Set member instance that the 3D coordinate is located in the target SRF Set. | |
Static Public Member Functions | |
double | calculateEuclideanDistance (Coord3D coord1, Coord3D coord2) throws SrmException |
Returns the euclidean distance between two coordinates. | |
Protected Member Functions | |
SRM_SRFSM_Code | getMemberCode (double[] src_coord, SRM_ORM_Code orm_dst, SRM_RT_Code rt_dst, SRM_SRFS_Code tgt_srfs) throws SrmException |
LTP_vec | compLTP (BaseSRF srf, Coord3D coord) throws SrmException |
SRM_Matrix_3x3 | comp_ori_mat (LTP_vec src, LTP_vec tgt) |
Protected Attributes | |
SRM_Extended_Valid_Region_Params[] | _component_valid_region |
member data for the geodetic valid region | |
boolean[] | _component_is_angular = { false, false, false } |
boolean flag indicating whether the coordinate component associated with this SRF is angular |
|
Returns the euclidean distance between two coordinates.
|
|
Changes an array of 3D coordinate to this SRF.
|
|
Changes an array of coordinates to this SRF using tranformation object.
|
|
Changes a coordinate's values to this SRF.
|
|
Changes a coordinate's values to this SRF using tranformation object.
|
|
Changes an array of directions to this SRF.
|
|
Changes an array of directions to this SRF using tranformation object.
|
|
Changes a direction's reference coordinate and vector to this SRF.
|
|
Changes a direction's values to this SRF using tranformation object.
|
|
Check a direction in this SRF.
|
|
This method creates an Orientation object representing the orientation of the source srf (at the source reference point) with respect to this (the target) srf (at the target reference point). The Orientation is computed as the cosine matrix of the source local tangent frame with respect to the target local tangent frame.
|
|
|
Creates a 3D coordinate object.
Implemented in SRM.SRF_Celestiocentric, SRM.SRF_Celestiodetic, SRM.SRF_Celestiomagnetic, SRM.SRF_EquatorialInertial, SRM.SRF_EquidistantCylindrical, SRM.SRF_HeliosphericAriesEcliptic, SRM.SRF_HeliosphericEarthEcliptic, SRM.SRF_HeliosphericEarthEquatorial, SRM.SRF_LambertConformalConic, SRM.SRF_LocalSpaceRectangular3D, SRM.SRF_LocalTangentSpaceAzimuthalSpherical, SRM.SRF_LocalTangentSpaceCylindrical, SRM.SRF_LocalTangentSpaceEuclidean, SRM.SRF_LococentricEuclidean3D, SRM.SRF_Mercator, SRM.SRF_ObliqueMercatorSpherical, SRM.SRF_Planetodetic, SRM.SRF_PolarStereographic, SRM.SRF_SolarEcliptic, SRM.SRF_SolarEquatorial, SRM.SRF_SolarMagneticDipole, SRM.SRF_SolarMagneticEcliptic, and SRM.SRF_TransverseMercator. |
|
Creates a direction object with reference location and vector components as Double.NaN.
|
|
Creates a direction object.
import SRM.*; ... try { // first instantiate an SRF, say CD_3D SRF in WGS 1984 SRF_Celestiodetic CdSrf = new SRF_Celestiodetic(SRM_ORM_Code.ORM_WGS_1984, SRM_RT_Code.RT_WGS_1984_IDENTITY); // then instantiate a 3D CD_3D coordinate as the reference coordinate Coord3D_Celestiodetic CdCoord = (Coord3D_Celestiodetic)CdSrf.createCoordinate3D(Math.toRadians(10.0), Math.toRadians(20.0), 100.0); // then instantiate the Direction object by invoking the createDirection method Direction dir = CdSrf.createDirection(CdCoord, { 1.0, 2.0, 3.0 }); } catch (SrmException ex) ... // Note: The input reference coordinate is immutable. |
|
creates a Loccentric Euclidean 3D SRF whose origin in at the input lococentre and the primary and secodary axes are aligned with the input direction axes.
|
|
Retrieves the 3D coordinate component values.
|
|
Retrieves the direction component values.
|
|
Get the Extended Valid Region for this SRF.
|
|
Computes the parameters corresponding to the local tangent frame at the input reference coordinate.
|
|
Returns the natural SRF Set member instance that the 3D coordinate is located in the target SRF Set.
|
|
Computes the natural SRF Set member code (region) where the 3D coordinate is located in the target SRF Set.
|
|
Get the Valid Region for this SRF.
|
|
Set the Extended Valid Region for this SRF.
|
|
Set the Valid Region for this SRF.
|
|
Given an orientation with respect to a local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the orientation with respect to the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. The output orientation is computed by composing the orientation of LTF_S with respect to LTF_T with the input source orientation. The SRF invoking this method is the target SRF.
|
|
Given an orientation with respect to a local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the orientation with respect to the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. LTF_S and LTF_T have a common origin. The output orientation is computed by composing the orientation of LTF_S with respect to LTF_T with the input source orientation. The SRF invoking this method is the target SRF.
|
|
Given a vector in the local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. The output vector is computed by applying the orientation of LTF_S with respect to LTF_T to the source vector. The SRF invoking this method is the target SRF.
|
|
Given a vector in the local tangent frame (LTF_S) associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. LTF_S and LTF_T have a common origin. The output vector is computed by applying the orientation of LTF_S with respect to LTF_T to the source vector. The SRF invoking this method is the target SRF.
|
|
Given a vector in a body frame (or in general any linear reference frame) whose orientation with respect to the local tangent frame (LTF_S) that is associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. The output vector is computed by applying the composed orientation, from the orientation of LTF_S with respect to LTF_T with the source orientation, to the source vector. This method is equivalent to applying the orientation result from the transformOrientation method to the source vector. The SRF invoking this method is the target SRF.
|
|
Given a vector in a body frame (or in general any linear reference frame) whose orientation with respect to the local tangent frame (LTF_S) that is associated with a reference location in the source SRF, this method computes the vector in the local tangent frame (LTF_T) associated with the specified reference location in the target SRF. LTF_S and LTF_T have a common origin. The output vector is computed by applying the composed orientation, from the orientation of LTF_S with respect to LTF_T with the source orientation, to the source vector. This method is equivalent to applying the orientation result from the transformOrientation method to the source vector. The SRF invoking this method is the target SRF.
|
|
Initial value:
new SRM_Extended_Valid_Region_Params[3]
|
Spatial Reference Model Java API | Version 4.4.0 - January 21, 2010 |
Copyright © 2010 SEDRIS | Docs by Doxygen 1.3.2 |