Class DefaultCylindricalProjection

All Implemented Interfaces:
Serializable, Formattable, Parameterized, Deprecable, LenientComparable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.Conversion, org.opengis.referencing.operation.CoordinateOperation, org.opengis.referencing.operation.CylindricalProjection, org.opengis.referencing.operation.Projection, org.opengis.referencing.operation.SingleOperation

final class DefaultCylindricalProjection extends DefaultProjection implements org.opengis.referencing.operation.CylindricalProjection
Cylindrical map projections.
Since:
0.6
Version:
0.6
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial number for inter-operability with different versions.
      See Also:
  • Constructor Details

    • DefaultCylindricalProjection

      public DefaultCylindricalProjection(Map<String,?> properties, org.opengis.referencing.crs.GeographicCRS sourceCRS, org.opengis.referencing.crs.ProjectedCRS targetCRS, org.opengis.referencing.operation.OperationMethod method, org.opengis.referencing.operation.MathTransform transform)
      Creates a projection from the given properties.
      Parameters:
      properties - the properties to be given to the identified object.
      sourceCRS - the source CRS.
      targetCRS - the target CRS.
      method - the coordinate operation method.
      transform - transform from positions in the source CRS to positions in the target CRS.
    • DefaultCylindricalProjection

      DefaultCylindricalProjection(org.opengis.referencing.operation.Conversion definition, org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.referencing.operation.OperationMethod[] actual) throws org.opengis.util.FactoryException
      Creates a new projection with the same values than the specified one, together with the specified source and target CRS. While the source conversion can be an arbitrary one, it is typically a defining conversion.
      Parameters:
      definition - the defining conversion.
      sourceCRS - the source CRS.
      targetCRS - the target CRS.
      factory - the factory to use for creating a transform from the parameters or for performing axis changes.
      actual - an array of length 1 where to store the actual operation method used by the math transform factory.
      Throws:
      org.opengis.util.FactoryException
    • DefaultCylindricalProjection

      protected DefaultCylindricalProjection(org.opengis.referencing.operation.CylindricalProjection operation)
      Creates a new coordinate operation with the same values than the specified one. This copy constructor provides a way to convert an arbitrary implementation into a SIS one or a user-defined one (as a subclass), usually in order to leverage some implementation-specific API.

      This constructor performs a shallow copy, i.e. the properties are not cloned.

      Parameters:
      operation - the coordinate operation to copy.
  • Method Details

    • getInterface

      public Class<? extends org.opengis.referencing.operation.CylindricalProjection> getInterface()
      Returns the GeoAPI interface implemented by this class. The SIS implementation returns CylindricalProjection.class.
      Overrides:
      getInterface in class DefaultProjection
      Returns:
      CylindricalProjection.class.