public Extent getDomainOfValidity() { return delegate.getDomainOfValidity(); }
return ((Datum) info).getDomainOfValidity(); } else if (info instanceof CoordinateOperation) { return ((CoordinateOperation) info).getDomainOfValidity();
/** * Creates a new sorter for the given coordinate operation. * * @param operation the coordinate operation to sort with other operations. * @param areaOfInterest the geographic area of interest, or {@code null} if unspecified. */ private CoordinateOperationSorter(final CoordinateOperation operation, final GeographicBoundingBox areaOfInterest) { this.operation = operation; area = -Extents.area(Extents.intersection(areaOfInterest, Extents.getGeographicBoundingBox(operation.getDomainOfValidity()))); accuracy = CRS.getLinearAccuracy(operation); }
return ((Datum) object).getDomainOfValidity(); } else if (object instanceof CoordinateOperation) { return ((CoordinateOperation) object).getDomainOfValidity();
return ((Datum) object).getDomainOfValidity(); } else if (object instanceof CoordinateOperation) { return ((CoordinateOperation) object).getDomainOfValidity();
return null; GeographicBoundingBox bbox = Extents.getGeographicBoundingBox(operation.getDomainOfValidity()); if (bbox == null) { bbox = Extents.intersection(getGeographicBoundingBox(operation.getSourceCRS()),
return null; GeographicBoundingBox bbox = Extents.getGeographicBoundingBox(operation.getDomainOfValidity()); if (bbox == null) { bbox = Extents.intersection(getGeographicBoundingBox(operation.getSourceCRS()),
printHeader(Vocabulary.Keys.Operations); printOperations (operation, false); outHeader.nextLine(); printDomainOfValidity(operation.getDomainOfValidity()); printAccuracy(CRS.getLinearAccuracy(operation)); if (options.containsKey(Option.VERBOSE)) {
/** * 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(); } }
Extents.getGeographicBoundingBox(candidate.getDomainOfValidity()))); if (bestChoice == null || area >= largestArea) { final double accuracy = CRS.getLinearAccuracy(candidate);
final Extent domain = op.getDomainOfValidity(); if (domain != null) { if (domainOfValidity == null) {
final Extent domain = op.getDomainOfValidity(); if (domain != null) { if (domainOfValidity == null) {
if ((mode.isIgnoringMetadata() || (deepEquals(getScope(), that.getScope(), mode) && deepEquals(getDomainOfValidity(), that.getDomainOfValidity(), mode) && deepEquals(getCoordinateOperationAccuracy(), that.getCoordinateOperationAccuracy(), mode))) && deepEquals(getInterpolationCRS(), getInterpolationCRS(that), mode))
if ((mode.isIgnoringMetadata() || (deepEquals(getScope(), that.getScope(), mode) && deepEquals(getDomainOfValidity(), that.getDomainOfValidity(), mode) && deepEquals(getCoordinateOperationAccuracy(), that.getCoordinateOperationAccuracy(), mode))) && deepEquals(getInterpolationCRS(), getInterpolationCRS(that), mode))
anchor = null; scope = ((CoordinateOperation) object).getScope(); area = ((CoordinateOperation) object).getDomainOfValidity(); } else { return;
anchor = null; scope = ((CoordinateOperation) object).getScope(); area = ((CoordinateOperation) object).getDomainOfValidity(); } else { return;
validateIdentifiedObject(object); container.naming.validate(object.getScope()); container.extent.validate(object.getDomainOfValidity());
validateIdentifiedObject(object); container.validate(object.getScope()); container.validate(object.getDomainOfValidity());