org.geotoolkit.referencing.operation.projection
Class ObliqueMercator.Parameters

Object
  extended by AbstractMathTransform2D.Parameters
      extended by UnitaryProjection.Parameters
          extended by ObliqueMercator.Parameters
All Implemented Interfaces:
Serializable, Parameterized
Enclosing class:
ObliqueMercator

protected static class ObliqueMercator.Parameters
extends UnitaryProjection.Parameters

Parameters used in Oblique Mercator projections. Those parameters determine the rotation in addition to the scale and translation determined by the parameters declared in the super-class.

Since:
3.00
Version:
3.00
Author:
Rueben Schulz (UBC), Martin Desruisseaux (Geomatys)
See Also:
Serialized Form
Module:
referencing/geotk-referencing (download)    View source code for this class

Field Summary
 double latitudeOf1stPoint
          The latitude of the 1st point used to specify the central line, in degrees.
 double latitudeOf2ndPoint
          The latitude of the 2nd point used to specify the central line, in degrees.
 double latitudeOfCentre
          Latitude of the projection centre.
 double longitudeOf1stPoint
          The longitude of the 1st point used to specify the central line, in degrees.
 double longitudeOf2ndPoint
          The longitude of the 2nd point used to specify the central line, in radians.
 double longitudeOfCentre
          Longitude of the projection centre.
 double rectifiedGridAngle
          The rectified bearing of the central line, in degrees.
 
Fields inherited from class UnitaryProjection.Parameters
azimuth, centralMeridian, falseEasting, falseNorthing, latitudeOfOrigin, scaleFactor, semiMajor, semiMinor, standardParallels
 
Constructor Summary
ObliqueMercator.Parameters(ParameterDescriptorGroup descriptor, ParameterValueGroup values)
          Creates parameters initialized to values extracted from the given parameter group.
 
Method Summary
 ParameterValueGroup getParameterValues()
          Returns a group of parameters initialized to the values contained in this object.
 boolean usesTwoPoints()
          Infers from the parameter values if the azimuth is defined by two points on the central line.
 
Methods inherited from class UnitaryProjection.Parameters
equals, hashCode, validate
 
Methods inherited from class AbstractMathTransform2D.Parameters
createConcatenatedTransform, getParameterDescriptors, normalize, toString
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

latitudeOfCentre

public double latitudeOfCentre
Latitude of the projection centre. This is similar to the latitudeOfOrigin, but the latitude of origin is the Earth equator on aposphere for the oblique Mercator.


longitudeOfCentre

public double longitudeOfCentre
Longitude of the projection centre. This is NOT equal to the centralMeridian, which is the meridian where the central line intersects the Earth equator on aposphere.

This parameter applies to the "azimuth" case only and shall be set to NaN for the "two points" case.


rectifiedGridAngle

public double rectifiedGridAngle
The rectified bearing of the central line, in degrees. This is set to NaN if the RECTIFIED_GRID_ANGLE parameter value is not provided.


latitudeOf1stPoint

public double latitudeOf1stPoint
The latitude of the 1st point used to specify the central line, in degrees. This parameter applies to the "two points" case only and shell be set to NaN for the "azimuth" case.


longitudeOf1stPoint

public double longitudeOf1stPoint
The longitude of the 1st point used to specify the central line, in degrees. This parameter applies to the "two points" case only and shall be set to NaN for the "azimuth" case.


latitudeOf2ndPoint

public double latitudeOf2ndPoint
The latitude of the 2nd point used to specify the central line, in degrees. This parameter applies to the "two points" case only and shall be set to NaN for the "azimuth" case.


longitudeOf2ndPoint

public double longitudeOf2ndPoint
The longitude of the 2nd point used to specify the central line, in radians. This parameter applies to the "two points" case only and shall be set to NaN for the "azimuth" case.

Constructor Detail

ObliqueMercator.Parameters

public ObliqueMercator.Parameters(ParameterDescriptorGroup descriptor,
                                  ParameterValueGroup values)
                           throws ParameterNotFoundException
Creates parameters initialized to values extracted from the given parameter group.

Parameters:
descriptor - The descriptor of parameters that are legal for the projection being constructed.
values - The parameter values in standard units.
Throws:
ParameterNotFoundException - if a mandatory parameter is missing.
Method Detail

getParameterValues

public ParameterValueGroup getParameterValues()
Returns a group of parameters initialized to the values contained in this object. Changes to the returned parameters will not affect this object.

Specified by:
getParameterValues in interface Parameterized
Overrides:
getParameterValues in class UnitaryProjection.Parameters
Returns:
A copy of the parameter values.
See Also:
SingleOperation.getParameterValues()

usesTwoPoints

public boolean usesTwoPoints()
                      throws IllegalArgumentException
Infers from the parameter values if the azimuth is defined by two points on the central line.

Returns:
true if using two points on the central line to specify the azimuth.
Throws:
IllegalArgumentException - if the parameter values appear to be a mix of the "azimuth" and the "two points" cases.


Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.