/** * Returns the interpolation CRS of the given coordinate operation, or {@code null} if none. */ static CoordinateReferenceSystem getInterpolationCRS(final CoordinateOperation operation) { return (operation instanceof AbstractCoordinateOperation) ? ((AbstractCoordinateOperation) operation).getInterpolationCRS() : null; }
/** * Returns the interpolation CRS of the given coordinate operation, or {@code null} if none. */ static CoordinateReferenceSystem getInterpolationCRS(final CoordinateOperation operation) { return (operation instanceof AbstractCoordinateOperation) ? ((AbstractCoordinateOperation) operation).getInterpolationCRS() : null; }
AbstractCoordinateOperation.getInterpolationCRS(op), ((SingleOperation) single).getMethod(), single.getMathTransform());
AbstractCoordinateOperation.getInterpolationCRS(op), ((SingleOperation) single).getMethod(), single.getMathTransform());
/** * 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. * * <p>This constructor performs a shallow copy, i.e. the properties are not cloned.</p> * * @param operation the coordinate operation to copy. * * @see #castOrCopy(CoordinateOperation) */ protected AbstractCoordinateOperation(final CoordinateOperation operation) { super(operation); sourceCRS = operation.getSourceCRS(); targetCRS = operation.getTargetCRS(); interpolationCRS = getInterpolationCRS(operation); operationVersion = operation.getOperationVersion(); coordinateOperationAccuracy = operation.getCoordinateOperationAccuracy(); domainOfValidity = operation.getDomainOfValidity(); scope = operation.getScope(); transform = operation.getMathTransform(); if (operation instanceof AbstractCoordinateOperation) { wrapAroundChanges = ((AbstractCoordinateOperation) operation).wrapAroundChanges; } else { computeTransientFields(); } }
/** * 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. * * <p>This constructor performs a shallow copy, i.e. the properties are not cloned.</p> * * @param operation the coordinate operation to copy. * * @see #castOrCopy(CoordinateOperation) */ protected AbstractCoordinateOperation(final CoordinateOperation operation) { super(operation); sourceCRS = operation.getSourceCRS(); targetCRS = operation.getTargetCRS(); interpolationCRS = getInterpolationCRS(operation); operationVersion = operation.getOperationVersion(); coordinateOperationAccuracy = operation.getCoordinateOperationAccuracy(); domainOfValidity = operation.getDomainOfValidity(); scope = operation.getScope(); transform = operation.getMathTransform(); if (operation instanceof AbstractCoordinateOperation) { wrapAroundChanges = ((AbstractCoordinateOperation) operation).wrapAroundChanges; } else { computeTransientFields(); } }
AbstractCoordinateOperation.getInterpolationCRS(operation), method, transform);
AbstractCoordinateOperation.getInterpolationCRS(operation), method, transform);
deepEquals(getDomainOfValidity(), that.getDomainOfValidity(), mode) && deepEquals(getCoordinateOperationAccuracy(), that.getCoordinateOperationAccuracy(), mode))) && deepEquals(getInterpolationCRS(), getInterpolationCRS(that), mode))
deepEquals(getDomainOfValidity(), that.getDomainOfValidity(), mode) && deepEquals(getCoordinateOperationAccuracy(), that.getCoordinateOperationAccuracy(), mode))) && deepEquals(getInterpolationCRS(), getInterpolationCRS(that), mode))
append(formatter, getInterpolationCRS(), WKTKeywords.InterpolationCRS); final double accuracy = getLinearAccuracy(); if (accuracy > 0) {
append(formatter, getInterpolationCRS(), WKTKeywords.InterpolationCRS); final double accuracy = getLinearAccuracy(); if (accuracy > 0) {