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. | |
Orientation | createOrientation (Coord3D ref_coord, double mtx[][]) throws SrmException |
Creates an orientation object. | |
Orientation | createOrientation (Coord3D ref_coord, Direction dir1, Direction dir2, Direction dir3) throws SrmException |
Creates an Orientation object with a reference location and three Direction objects as the 3x3 Orientation matrix. | |
Orientation | createOrientation () throws SrmException |
Creates an Orientation object with a reference location and matrix components as Double.NaN. | |
void | getOrientationValues (Orientation orientation, Coord3D ref_coord, double mtx[][]) throws SrmException |
Retrieves the orientation component values. | |
SRM_Coordinate_Valid_Region_Code | checkOrientation (Orientation orientation) throws SrmException |
Check an orientation in this SRF. | |
SRM_Coordinate_Valid_Region_Code | changeOrientationSRF (Orientation src_ori, Orientation tgt_ori) throws SrmException |
Changes an orientation's values to this SRF. | |
Coord3D | instanceAbstractSpaceCoordinate (Coord3D src_coord, Orientation orientation) throws SrmException |
Instances a 3D source coordinate and orientation into this SRF. | |
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 |
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.
|
|
Changes an orientation's values to this SRF.
|
|
Check a direction in this SRF.
|
|
Check an orientation in this SRF.
|
|
|
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 an Orientation object with a reference location and matrix components as Double.NaN.
|
|
Creates an Orientation object with a reference location and three Direction objects as the 3x3 Orientation matrix.
|
|
Creates an orientation object.
import SRM.*; ... try { // first instantiate a 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 allocate a 3x3 matrix double[][] matrix = new double[][]{ {1.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0} }; // then instantiate the Orientation object by invoking the createOrientation method Orientation ori = CdSrf.createOrientation(CdCoord, matrix); } catch (SrmException ex) ... // Note: The input reference coordinate is immutable. |
|
Retrieves the 3D coordinate component values.
|
|
Retrieves the direction component values.
|
|
Get the Extended Valid Region for this SRF.
|
|
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.
|
|
Retrieves the orientation component values.
|
|
Get the Valid Region for this SRF.
|
|
Instances a 3D source coordinate and orientation into this SRF.
|
|
Set the Extended Valid Region for this SRF.
|
|
Set the Valid Region for this SRF.
|
|
Initial value:
new SRM_Extended_Valid_Region_Params[3]
|
Spatial Reference Model Java API | Version 4.1.4 - July 1, 2011 |
Copyright © 2011 SEDRIS | Docs by Doxygen 1.3.2 |