Inheritance diagram for SRM.BaseSRF:
Public Member Functions | |
SRM_SRF_Code | getSRFCode () |
Returns this pre-defined ("standard") SRF code. | |
SRM_SRFT_Code | getSRFTemplateCode () |
Returns this SRF's Template code. | |
SRM_SRFS_Code | getSRFSetCode () |
Returns this SRF's Set code. | |
SRM_SRFSM_Code | getSRFSetMemberCode () |
Returns this SRF's Set member code. | |
SRM_CS_Code | getCSCode () |
Returns this SRF's CS Code. | |
SRM_ORM_Code | get_orm () |
Returns this SRF's Object Reference Model code. | |
SRM_ORM_Code | getOrm () |
Returns this SRF's Object Reference Model code. | |
SRM_RT_Code | get_rt () |
Returns this SRF's RT code. | |
SRM_RT_Code | getRt () |
Returns this SRF's RT code. | |
double | getA () |
Returns this SRF's major semi-axis value (A). | |
double | getF () |
Returns this SRF's flattening value (F). | |
SRM_Coordinate_Valid_Region_Code | changeCoordinateSRF (Coord src, Coord tgt) throws SrmException |
Changes a coordinate's values to this SRF. | |
SRM_Coordinate_Valid_Region_Code | checkCoordinate (Coord src) throws SrmException |
Check a coordinate in this SRF for valid region. | |
String | toString () |
Returns a string representation of this SRF. | |
abstract boolean | isEqual (BaseSRF srf) |
BaseSRF | makeClone () throws SrmException |
Returns the shallow copy of this object instance. | |
Static Public Member Functions | |
BaseSRF | createStandardSRF (SRM_SRF_Code srf_code, SRM_RT_Code rt_code) throws SrmException |
Creates a Standard SRF from its SRF code. | |
BaseSRF | createSRFSetMember (SRM_SRFS_Code srf_set, SRM_SRFSM_Code set_member, SRM_ORM_Code orm, SRM_RT_Code rt) throws SrmException |
Creates an SRF from a SRF set code, a set member code specific to that set, and an ORM code. | |
boolean | querySRFTSupport (SRM_SRFT_Code srft_code) |
Queries for the SRFT support by the implementation. | |
double | calculateEuclideanDistance (Coord coord1, Coord coord2) throws SrmException |
Returns the Euclidean distance between two coordinates. | |
String | getImplVerInfo () |
Returns the string for this version of SRM Java implementation. | |
Protected Member Functions | |
void | setSrfCode (SRM_SRF_Code srfCode) |
void | setSrfSetCode (SRM_SRFS_Code srfSetCode) |
void | setSrfSetMemberCode (SRM_SRFSM_Code srfSetMemberCode) |
Static Protected Member Functions | |
double[] | interimConv (Coord src_coord, SRM_SRFT_Code tgt_srft) throws SrmException |
Protected Attributes | |
SRM_ORM_Code | _orm |
SRM_RT_Code | _rt |
SRM_SRFT_Code | _mySrftCode = SRM_SRFT_Code.SRFTCOD_UNSPECIFIED |
SRM_CS_Code | _myCsCode = SRM_CS_Code.CSCOD_UNSPECIFIED |
CacheManager | _myOpSeq |
HashMap< String, BaseSRF > | _internalSRFs |
Static Package Functions | |
boolean | queryORMSupport (SRM_ORM_Code orm_code, SRM_RT_Code rt_code) |
Queries for the ORM/RT pair support by the implementation. |
|
Returns the Euclidean distance between two coordinates.
|
|
Changes a coordinate's values to this SRF.
|
|
Check a coordinate in this SRF for valid region.
|
|
Creates an SRF from a SRF set code, a set member code specific to that set, and an ORM code.
import SRM.*; ... // call createSRFSetMember with: // SRF Set code => UTM // Set Member code => Zone 12 southern hemisphere // ORM => WGS 1984 // RT => WGS 1984 IDENTITY transformation try { BaseSRF utmSrf = BaseSRF.createSRFSetMember(SRM_SRFS_Code.SRFSCOD_UNIVERSAL_TRANSVERSE_MERCATOR, SRFSM_UTM_Code.SRFMSUTM_ZONE_12_SOUTHERN_HEMISPHERE, SRM_ORM_Code.ORMCOD_WGS_1984, SRM_RT_Code.RTCOD_WGS_1984_IDENTITY); } catch (SrmException ex) ... // Note1: In this example, the returned object is of class SRF_TransverseMercator with its parameters pre-defined. // Note2: The SRFS member code (SRFSM_UTM_Code) must be compatible with the SRFS code (SRFSCOD_UNIVERSAL_TRANSVERSE_MERCATOR). |
|
Creates a Standard SRF from its SRF code.
import SRM.*; ... // call createStandardSRF with: // SRF code => SRFCOD_BRITISH_NATIONAL_GRID_AIRY try { BaseSRF bngSrf = BaseSRF.createStandardSRF(SRM_SRF_Code.SRFCOD_BRITISH_NATIONAL_GRID_AIRY, SRM_RT_Code.RTCOD_OSGB_1936_3_MEAN_SOLUTION); } catch (SrmException ex) ... // Note1: In this example, the returned object is of class SRF_TransverseMercator with its pre-defined parameters. // Note2: The RT parameter must be compatible with ORMCOD_OSGB_1936. (See Users' Guide for the pre-assigned ORMs associated with each standard SRF. |
|
Returns this SRF's Object Reference Model code.
|
|
Returns this SRF's RT code.
|
|
Returns this SRF's major semi-axis value (A).
|
|
Returns this SRF's CS Code.
|
|
Returns this SRF's flattening value (F).
|
|
Returns the string for this version of SRM Java implementation.
|
|
Returns this SRF's Object Reference Model code.
|
|
Returns this SRF's RT code.
|
|
Returns this pre-defined ("standard") SRF code.
|
|
Returns this SRF's Set code.
|
|
Returns this SRF's Set member code.
|
|
Returns this SRF's Template code.
|
|
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_LocalSpaceAzimuthal, SRM.SRF_LocalSpacePolar, SRM.SRF_LocalSpaceRectangular2D, SRM.SRF_LocalSpaceRectangular3D, SRM.SRF_LocalTangentSpaceAzimuthalSpherical, SRM.SRF_LocalTangentSpaceCylindrical, SRM.SRF_LocalTangentSpaceEuclidean, SRM.SRF_LococentricEuclidean3D, SRM.SRF_Mercator, SRM.SRF_ObliqueMercatorSpherical, SRM.SRF_PolarStereographic, SRM.SRF_SolarEcliptic, and SRM.SRF_SolarEquatorial. |
|
Returns the shallow copy of this object instance.
|
|
Queries for the ORM/RT pair support by the implementation.
|
|
Queries for the SRFT support by the implementation.
|
Spatial Reference Model Java API | Version 4.4.0 - January 21, 2010 |
Copyright © 2010 SEDRIS | Docs by Doxygen 1.3.2 |