public class DefaultPassThroughOperation extends DefaultSingleOperation implements PassThroughOperation
Modifier and Type | Field and Description |
---|---|
protected Operation |
operation
The operation to apply on the subset of a coordinate tuple.
|
domainOfValidity, EMPTY_ACCURACY_ARRAY, sourceCRS, targetCRS, transform
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefaultPassThroughOperation(Map<String,?> properties,
CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS,
Operation operation,
int firstAffectedOrdinate,
int numTrailingOrdinates)
Constructs a single operation from a set of properties.
|
DefaultPassThroughOperation(Map<String,?> properties,
CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS,
Operation operation,
MathTransform transform)
Constructs a single operation from a set of properties and the given transform.
|
Modifier and Type | Method and Description |
---|---|
protected String |
formatWKT(Formatter formatter)
Format this operation as a pseudo-WKT format.
|
int[] |
getModifiedCoordinates()
Ordered sequence of positive integers defining the positions in a coordinate tuple of the
coordinates affected by this pass-through operation.
|
Operation |
getOperation()
Returns the operation to apply on the subset of a coordinate tuple.
|
equals, getAccuracy, getAccuracy, getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getType, getValidArea, hashCode
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getScope, getSourceCRS, getTargetCRS
getAlias, getIdentifiers, getName, getRemarks, toWKT
protected final Operation operation
public DefaultPassThroughOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, int firstAffectedOrdinate, int numTrailingOrdinates)
AbstractCoordinateOperation
constructor. Affected
ordinates will range from firstAffectedOrdinate
inclusive to dimTarget-numTrailingOrdinates
exclusive.properties
- Set of properties. Should contains at least "name"
.sourceCRS
- The source CRS.targetCRS
- The target CRS.operation
- The operation to apply on the subset of a coordinate tuple.firstAffectedOrdinate
- Index of the first affected ordinate.numTrailingOrdinates
- Number of trailing ordinates to pass through.public DefaultPassThroughOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, MathTransform transform)
AbstractCoordinateOperation
constructor.properties
- Set of properties. Should contains at least "name"
.sourceCRS
- The source CRS.targetCRS
- The target CRS.operation
- The operation to apply on the subset of a coordinate tuple.transform
- The pass through
transform.public Operation getOperation()
getOperation
in interface PassThroughOperation
public int[] getModifiedCoordinates()
getModifiedCoordinates
in interface PassThroughOperation
protected String formatWKT(Formatter formatter)
formatWKT
in class AbstractCoordinateOperation
formatter
- The formatter to use.Formattable.toWKT()
,
Formattable.toString()
Copyright © 1996–2019 Geotools. All rights reserved.