Package org.geolatte.geom.crs
Class Geographic2DCoordinateReferenceSystem
- java.lang.Object
-
- org.geolatte.geom.crs.CrsIdentifiable
-
- org.geolatte.geom.crs.CoordinateReferenceSystem<P>
-
- org.geolatte.geom.crs.SingleCoordinateReferenceSystem<P>
-
- org.geolatte.geom.crs.GeographicCoordinateReferenceSystem<G2D>
-
- org.geolatte.geom.crs.Geographic2DCoordinateReferenceSystem
-
public class Geographic2DCoordinateReferenceSystem extends GeographicCoordinateReferenceSystem<G2D>
A geographicCoordinateReferenceSystem.A
GeographicCoordinateReferenceSystemis defined as a coordinate system based on latitude and longitude. Some geographic coordinate systems are Lat/Lon, and some are Lon/Lat. You can find out which this is by examining theCoordinateSystemAxes. You should also check the angular units, since not all geographic coordinate systems use degrees (see [CTS-1.00], p. 63).- Author:
- Karel Maesen, Geovise BVBA creation-date: 8/2/11
-
-
Constructor Summary
Constructors Constructor Description Geographic2DCoordinateReferenceSystem(CrsId crsId, String name, EllipsoidalCoordinateSystem2D crs)Constructs aCoordinateReferenceSystem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EllipsoidalCoordinateSystem2DgetCoordinateSystem()Returns theCoordinateSystemassociated with thisCoordinateReferenceSystem.-
Methods inherited from class org.geolatte.geom.crs.GeographicCoordinateReferenceSystem
equals, getDatum, getPrimeMeridian, getUnit, hashCode, setDatum, setPrimeMeridian
-
Methods inherited from class org.geolatte.geom.crs.SingleCoordinateReferenceSystem
isCompound
-
Methods inherited from class org.geolatte.geom.crs.CoordinateReferenceSystem
getAxis, getAxisIndex, getCoordinateDimension, getPositionClass, hasM, hasZ
-
Methods inherited from class org.geolatte.geom.crs.CrsIdentifiable
getCrsId, getName
-
-
-
-
Constructor Detail
-
Geographic2DCoordinateReferenceSystem
public Geographic2DCoordinateReferenceSystem(CrsId crsId, String name, EllipsoidalCoordinateSystem2D crs)
Constructs aCoordinateReferenceSystem.- Parameters:
crsId- theCrsIdthat identifies this system uniquelyname- the commonly used name for this systemcrs- theEllipsoidalCoordinateSystem2Dfor this system- Throws:
IllegalArgumentException- if less than twoCoordinateSystemAxesare passed.
-
-
Method Detail
-
getCoordinateSystem
public EllipsoidalCoordinateSystem2D getCoordinateSystem()
Description copied from class:CoordinateReferenceSystemReturns theCoordinateSystemassociated with thisCoordinateReferenceSystem.- Overrides:
getCoordinateSystemin classCoordinateReferenceSystem<G2D>- Returns:
- Returns the
CoordinateSystemassociated with thisCoordinateReferenceSystem.
-
-