Class DefaultPassThroughOperation

All Implemented Interfaces:
Serializable, Formattable, Deprecable, Lenient­Comparable, Identified­Object, Coordinate­Operation, Pass­Through­Operation, Single­Operation

public class DefaultPassThroughOperation extends AbstractCoordinateOperation implements PassThroughOperation
Specifies that a subset of a coordinate tuple is subject to a specific coordinate operation.
See Also:
  • Constructor Details

    • DefaultPassThroughOperation

      public DefaultPassThroughOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, SingleOperation operation, int firstAffectedCoordinate, int numTrailingCoordinates)
      Constructs a pass-through operation from a set of properties. The properties given in argument follow the same rules than for the super-class constructor. The following table is a reminder of main (not all) properties:
      Recognized properties (non exhaustive list)
      Property name Value type Returned by
      "name" Identifier or String AbstractIdentifiedObject.getName()
      "identifiers" Identifier (optionally as array) AbstractIdentifiedObject.getIdentifiers()
      properties - the properties to be given to the identified object.
      source­CRS - the source CRS.
      target­CRS - the target CRS.
      operation - the operation to apply on the subset of a coordinate tuple.
      first­Affected­Coordinate - index of the first affected coordinate.
      num­Trailing­Coordinates - number of trailing coordinates to pass through.
    • DefaultPassThroughOperation

      protected DefaultPassThroughOperation(PassThroughOperation 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.

      operation - the coordinate operation to copy.
      See Also:
  • Method Details