| org.geotools.referencing.operation.AbstractCoordinateOperation org.geotools.referencing.operation.DefaultSingleOperation org.geotools.referencing.operation.DefaultPassThroughOperation
DefaultPassThroughOperation | public class DefaultPassThroughOperation extends DefaultSingleOperation implements PassThroughOperation(Code) | | A pass-through operation specifies that a subset of a coordinate tuple is subject to a specific
coordinate operation.
since: 2.1 version: $Id: DefaultPassThroughOperation.java 24607 2007-02-26 22:05:40Z desruisseaux $ author: Martin Desruisseaux |
Field Summary | |
final protected Operation | operation The operation to apply on the subset of a coordinate tuple. |
Constructor Summary | |
public | DefaultPassThroughOperation(Map properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, int firstAffectedOrdinate, int numTrailingOrdinates) Constructs a single operation from a set of properties. | public | DefaultPassThroughOperation(Map properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, MathTransform transform) Constructs a single operation from a set of properties and the given transform.
The properties given in argument follow the same rules than for the
AbstractCoordinateOperation constructor.
Parameters: properties - Set of properties. |
Method Summary | |
protected String | formatWKT(Formatter formatter) | public int[] | getModifiedCoordinates() Ordered sequence of positive integers defining the positions in a coordinate
tuple of the coordinates affected by this pass-through operation. | public Operation | getOperation() Returns the operation to apply on the subset of a coordinate tuple. |
operation | final protected Operation operation(Code) | | The operation to apply on the subset of a coordinate tuple.
|
DefaultPassThroughOperation | public DefaultPassThroughOperation(Map properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, int firstAffectedOrdinate, int numTrailingOrdinates)(Code) | | Constructs a single operation from a set of properties. The properties given in argument
follow the same rules than for the
AbstractCoordinateOperation constructor.
Affected ordinates will range from
firstAffectedOrdinate inclusive to
dimTarget-numTrailingOrdinates exclusive.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: sourceCRS - The source CRS. Parameters: targetCRS - The target CRS. Parameters: operation - The operation to apply on the subset of a coordinate tuple. Parameters: firstAffectedOrdinate - Index of the first affected ordinate. Parameters: numTrailingOrdinates - Number of trailing ordinates to pass through. |
DefaultPassThroughOperation | public DefaultPassThroughOperation(Map properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, MathTransform transform)(Code) | | Constructs a single operation from a set of properties and the given transform.
The properties given in argument follow the same rules than for the
AbstractCoordinateOperation constructor.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: sourceCRS - The source CRS. Parameters: targetCRS - The target CRS. Parameters: operation - The operation to apply on the subset of a coordinate tuple. Parameters: transform - The . |
getModifiedCoordinates | public int[] getModifiedCoordinates()(Code) | | Ordered sequence of positive integers defining the positions in a coordinate
tuple of the coordinates affected by this pass-through operation. The returned
index are for source coordinates.
The modified coordinates. |
getOperation | public Operation getOperation()(Code) | | Returns the operation to apply on the subset of a coordinate tuple.
The operation. |
|
|