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. | |
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. | |
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. | |
int | getNaturalSRFSetMemberCode (Coord3D src_coord, SRM_ORM_Code orm_dst, SRM_HSR_Code hsr_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_HSR_Code hsr_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 | |
int | getMemberCode (double[] src_coord, SRM_ORM_Code orm_dst, SRM_HSR_Code hsr_dst, SRM_SRFS_Code tgt_srfs) throws SrmException |
|
Returns the euclidean distance between two coordinates.
|
|
Changes a coordinate's values to this SRF.
|
|
Changes a direction's reference coordinate and vector to this SRF.
|
|
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_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 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_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 a SRF, say CD SRF in WGS 1984 SRF_Celestiodetic CdSrf = new SRF_Celestiodetic(SRM_ORM_Code.ORM_WGS_1984, SRM_HSR_Code.HSR_WGS_1984_IDENTITY); // then instantiate a 3D CD 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 SRF in WGS 1984 SRF_Celestiodetic CdSrf = new SRF_Celestiodetic(SRM_ORM_Code.ORM_WGS_1984, SRM_HSR_Code.HSR_WGS_1984_IDENTITY); // then Instantiate a 3D CD 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.
|
|
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.
|
|
Instances a 3D source coordinate and orientation into this SRF.
|
Spatial Reference Model Java API | Version 4.0.0 - 29 Jul 2004 |
Copyright © 2004 SEDRIS | Docs by Doxygen 1.3.2 |