Package mil.nga.crs.geo
Class GeoReferenceFrame
- java.lang.Object
-
- mil.nga.crs.common.ReferenceFrame
-
- mil.nga.crs.geo.GeoReferenceFrame
-
- All Implemented Interfaces:
Identifiable
,GeoDatum
public class GeoReferenceFrame extends ReferenceFrame implements GeoDatum
Geodetic and Geographic Reference Frame (datum)- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeoReferenceFrame()
ConstructorGeoReferenceFrame(String name, CRSType type, Ellipsoid ellipsoid)
ConstructorGeoReferenceFrame(String name, Ellipsoid ellipsoid)
ConstructorGeoReferenceFrame(CRSType type)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Ellipsoid
getEllipsoid()
Get the ellipsoidPrimeMeridian
getPrimeMeridian()
Get the prime meridianint
hashCode()
boolean
hasPrimeMeridian()
Has a prime meridianvoid
setEllipsoid(Ellipsoid ellipsoid)
Set the ellipsoidvoid
setPrimeMeridian(PrimeMeridian primeMeridian)
Set the prime meridian-
Methods inherited from class mil.nga.crs.common.ReferenceFrame
addIdentifier, addIdentifiers, getAnchor, getIdentifier, getIdentifiers, getName, getType, hasAnchor, hasIdentifiers, numIdentifiers, setAnchor, setIdentifiers, setName, setType, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface mil.nga.crs.common.Identifiable
addIdentifier, addIdentifiers, getIdentifier, getIdentifiers, hasIdentifiers, numIdentifiers, setIdentifiers
-
-
-
-
Constructor Detail
-
GeoReferenceFrame
public GeoReferenceFrame()
Constructor
-
GeoReferenceFrame
public GeoReferenceFrame(CRSType type)
Constructor- Parameters:
type
- geo crs type
-
GeoReferenceFrame
public GeoReferenceFrame(String name, Ellipsoid ellipsoid)
Constructor- Parameters:
name
- nameellipsoid
- ellipsoid
-
-
Method Detail
-
getEllipsoid
public Ellipsoid getEllipsoid()
Get the ellipsoid- Specified by:
getEllipsoid
in interfaceGeoDatum
- Returns:
- ellipsoid
-
setEllipsoid
public void setEllipsoid(Ellipsoid ellipsoid)
Set the ellipsoid- Specified by:
setEllipsoid
in interfaceGeoDatum
- Parameters:
ellipsoid
- ellipsoid
-
getPrimeMeridian
public PrimeMeridian getPrimeMeridian()
Get the prime meridian- Specified by:
getPrimeMeridian
in interfaceGeoDatum
- Returns:
- prime meridian
-
hasPrimeMeridian
public boolean hasPrimeMeridian()
Has a prime meridian- Specified by:
hasPrimeMeridian
in interfaceGeoDatum
- Returns:
- true if has prime meridian
-
setPrimeMeridian
public void setPrimeMeridian(PrimeMeridian primeMeridian)
Set the prime meridian- Specified by:
setPrimeMeridian
in interfaceGeoDatum
- Parameters:
primeMeridian
- prime meridian
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classReferenceFrame
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classReferenceFrame
-
-