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. | |
int | getSRFSetMemberCode () |
Returns this SRF's Set member code. | |
SRM_ORM_Code | get_orm () |
Returns this SRF's Object Reference Model code. | |
SRM_HSR_Code | get_hsr () |
Returns this SRF's Hsr 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. | |
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) throws SrmException |
Creates a Standard SRF from its SRF code. | |
BaseSRF | createSRFSetMember (SRM_SRFS_Code srf_set, int set_member, SRM_ORM_Code orm, SRM_HSR_Code hsr) throws SrmException |
Creates an SRF from a SRF set code, a set member code specific to that set, and an ORM code. | |
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 (int srfSetMemberCode) |
Protected Attributes | |
SRM_ORM_Code | _orm |
SRM_HSR_Code | _hsr |
SRM_SRFT_Code | _mySrftCode = SRM_SRFT_Code.SRFT_UNDEFINED |
CacheManager | _myOpSeq |
HashMap | _internalSRFs |
|
Returns the euclidean distance between two coordinates.
|
|
Changes a coordinate's values to this SRF.
|
|
Check a coordinate in this SRF.
|
|
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 // HSR => WGS 1984 IDENTITY transformation try { BaseSRF utmSrf = BaseSRF.createSRFSetMember( SRM_SRFS_Code.SRFS_UNIVERSAL_TRANSVERSE_MERCATOR, SRF_SSR_Code._SSM_UTM_ZONE_12_SOUTHERN_HEMISPHERE, SRM_ORM_Code.ORM_WGS_1984, SRM_HSR_Code.HSR_WGS_1984_IDENTITY ); } catch (SrmException ex) ... // Note1: The returned object is of class SRF_TransverseMercator. // Note2: All other Transverse Mercator SRF parameters are fixed for a given Set member. |
|
Creates a Standard SRF from its SRF code.
import SRM.*; ... // call createStandardSRF with: // SRF code => SRF_BRITISH_NATIONAL_GRID try { BaseSRF bngSrf = BaseSRF.createStandardSRF( SRM_SRF_Code.SRF_BRITISH_NATIONAL_GRID ); } catch (SrmException ex) ... // Note1: The returned object is of class SRF_TransverseMercator. // Note2: All the Mercator SRF parameters are pre-defined for the BNG SRF. |
|
Returns this SRF's Hsr code.
|
|
Returns this SRF's Object Reference Model 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.
|
Spatial Reference Model Java API | Version 4.0.0 - 29 Jul 2004 |
Copyright © 2004 SEDRIS | Docs by Doxygen 1.3.2 |