Package mil.nga.crs.geo
Class GeoCoordinateReferenceSystem
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.CommonCRS
-
- mil.nga.crs.CoordinateReferenceSystem
-
- mil.nga.crs.SimpleCoordinateReferenceSystem
-
- mil.nga.crs.geo.GeoCoordinateReferenceSystem
-
- All Implemented Interfaces:
Identifiable,ScopeExtentIdentifierRemark
public class GeoCoordinateReferenceSystem extends SimpleCoordinateReferenceSystem
Geodetic and Geographic Coordinate Reference System- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeoCoordinateReferenceSystem()ConstructorGeoCoordinateReferenceSystem(String name, CRSType type, Dynamic dynamic, GeoReferenceFrame referenceFrame, CoordinateSystem coordinateSystem)ConstructorGeoCoordinateReferenceSystem(String name, CRSType type, GeoDatumEnsemble datumEnsemble, CoordinateSystem coordinateSystem)ConstructorGeoCoordinateReferenceSystem(String name, CRSType type, GeoReferenceFrame referenceFrame, CoordinateSystem coordinateSystem)ConstructorGeoCoordinateReferenceSystem(CRSType type)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)GeoDatumEnsemblegetDatumEnsemble()Get the datum ensembleDynamicgetDynamic()Get the dynamic coordinate reference systemGeoDatumgetGeoDatum()Get the geodetic or geographic common datumGeoReferenceFramegetReferenceFrame()Get the reference framebooleanhasDatumEnsemble()Determine if has a datum ensemblebooleanhasDynamic()Determine if has a dynamicinthashCode()booleanhasReferenceFrame()Determine if has a reference framevoidsetDatumEnsemble(GeoDatumEnsemble datumEnsemble)Set the datum ensemblevoidsetDynamic(Dynamic dynamic)Set the dynamic coordinate reference systemvoidsetReferenceFrame(GeoReferenceFrame referenceFrame)Set the reference frame-
Methods inherited from class mil.nga.crs.SimpleCoordinateReferenceSystem
getCoordinateSystem, setCoordinateSystem
-
Methods inherited from class mil.nga.crs.CommonCRS
addIdentifier, addIdentifiers, addUsage, addUsages, getIdentifier, getIdentifiers, getName, getRemark, getUsage, getUsages, hasIdentifiers, hasRemark, hasUsages, numIdentifiers, numUsages, setIdentifiers, setName, setRemark, setUsages
-
-
-
-
Constructor Detail
-
GeoCoordinateReferenceSystem
public GeoCoordinateReferenceSystem()
Constructor
-
GeoCoordinateReferenceSystem
public GeoCoordinateReferenceSystem(CRSType type)
Constructor- Parameters:
type- coordinate reference system type
-
GeoCoordinateReferenceSystem
public GeoCoordinateReferenceSystem(String name, CRSType type, GeoReferenceFrame referenceFrame, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name- nametype- coordinate reference system typereferenceFrame- reference framecoordinateSystem- coordinate system
-
GeoCoordinateReferenceSystem
public GeoCoordinateReferenceSystem(String name, CRSType type, GeoDatumEnsemble datumEnsemble, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name- nametype- coordinate reference system typedatumEnsemble- datum ensemblecoordinateSystem- coordinate system
-
GeoCoordinateReferenceSystem
public GeoCoordinateReferenceSystem(String name, CRSType type, Dynamic dynamic, GeoReferenceFrame referenceFrame, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name- nametype- coordinate reference system typedynamic- dynamicreferenceFrame- reference framecoordinateSystem- coordinate system
-
-
Method Detail
-
getReferenceFrame
public GeoReferenceFrame getReferenceFrame()
Get the reference frame- Returns:
- reference frame
-
hasReferenceFrame
public boolean hasReferenceFrame()
Determine if has a reference frame- Returns:
- true if has reference frame
-
setReferenceFrame
public void setReferenceFrame(GeoReferenceFrame referenceFrame)
Set the reference frame- Parameters:
referenceFrame- reference frame
-
getDatumEnsemble
public GeoDatumEnsemble getDatumEnsemble()
Get the datum ensemble- Returns:
- datum ensemble
-
hasDatumEnsemble
public boolean hasDatumEnsemble()
Determine if has a datum ensemble- Returns:
- true if has datum ensemble
-
setDatumEnsemble
public void setDatumEnsemble(GeoDatumEnsemble datumEnsemble)
Set the datum ensemble- Parameters:
datumEnsemble- datum ensemble
-
getDynamic
public Dynamic getDynamic()
Get the dynamic coordinate reference system- Returns:
- dynamic coordinate reference system
-
hasDynamic
public boolean hasDynamic()
Determine if has a dynamic- Returns:
- true if has dynamic
-
setDynamic
public void setDynamic(Dynamic dynamic)
Set the dynamic coordinate reference system- Parameters:
dynamic- dynamic coordinate reference system
-
getGeoDatum
public GeoDatum getGeoDatum()
Get the geodetic or geographic common datum- Returns:
- geo datum
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSimpleCoordinateReferenceSystem
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classSimpleCoordinateReferenceSystem
-
-