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, transformEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINECOORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEYALIAS_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, hashCodeasSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchescleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTgetCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getScope, getSourceCRS, getTargetCRSgetAlias, getIdentifiers, getName, getRemarks, toWKTprotected 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 PassThroughOperationpublic int[] getModifiedCoordinates()
getModifiedCoordinates in interface PassThroughOperationprotected String formatWKT(Formatter formatter)
formatWKT in class AbstractCoordinateOperationformatter - The formatter to use.Formattable.toWKT(),
Formattable.toString()Copyright © 1996–2019 Geotools. All rights reserved.