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_RT_Code | get_rt () |
Returns this SRF's Rt code. | |
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. | |
abstract 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. | |
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.SRFT_UNDEFINED |
SRM_CS_Code | _myCsCode = SRM_CS_Code.CS_UNDEFINED |
CacheManager | _myOpSeq |
HashMap | _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.SRFS_UNIVERSAL_TRANSVERSE_MERCATOR, SRFSM_UTM_Code.SRFMSUTM_ZONE_12_SOUTHERN_HEMISPHERE, SRM_ORM_Code.ORM_WGS_1984, SRM_RT_Code.RT_WGS_1984_IDENTITY ); } catch (SrmException ex) ... // Note1: In this example, the returned object is of class SRF_TransverseMercator with its paramters pre-defined. // Note2: The SRFS member code (SRFSM_UTM_Code) must be compatible with the SRFS code (SRFS_UNIVERSAL_TRANSVERSE_MERCATOR). |
|
Creates a Standard SRF from its SRF code.
import SRM.*; ... // call createStandardSRF with: // SRF code => SRF_BRITISH_NATIONAL_GRID_AIRY try { BaseSRF bngSrf = BaseSRF.createStandardSRF( SRM_SRF_Code.SRF_BRITISH_NATIONAL_GRID, SRM_RT_Code.RT_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 compitible with the ORM_OSGB_1936. (See User's Guide for the pre-assigned ORMs to each of the standard SRFs. |
|
Returns this SRF's Object Reference Model code.
|
|
Returns this SRF's Rt code.
|
|
Returns this SRF's CS 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.
|
|
|
|
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.1 - 10 Apr 2006 |
Copyright © 2006 SEDRIS | Docs by Doxygen 1.3.2 |