sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated (2d3e45f -> 579bc7e)
Date Mon, 05 Oct 2020 11:04:25 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git.


    from 2d3e45f  Implement `WraparoundTransform.inverse()`. It will allow us to apply a safer
strategy for handling wraparounds in next commits. Remove `WraparoundTransform.CACHE` because
the new `sourceMedian` field reduces the probability that a cached value can be used.
     new d1e4873  Avoid potentially costly calls to `MathTransform.inverse()`.
     new 674c34d  Move the `intersect` method close to `union` method, remove `public` modifier
on constructors of package-privated classes and edit some comments. There is no significant
code change in this commit.
     new 3201ff1  Build temporary `WraparoundInEnvelope` instances only before to transform
an envelope. This change avoid to expose a mutable `MathTransform`, removes the need for synchronization
and enable wraparound handling in more situations than only `GridGeometry` operations.
     new 579bc7e  Apply on transformations of `Rectangle2D` objects the same wraparound checks
than we did in previous commit for `Envelope` objects.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../coverage/grid/CoordinateOperationFinder.java   |   8 -
 .../org/apache/sis/coverage/grid/GridExtent.java   |   4 +-
 .../sis/coverage/grid/GridDerivationTest.java      |   6 +-
 .../java/org/apache/sis/geometry/Envelopes.java    | 328 +++++++++++----------
 .../java/org/apache/sis/geometry/Shapes2D.java     | 291 +++++++++---------
 .../apache/sis/geometry/WraparoundInEnvelope.java  | 235 +++++++++++++++
 .../internal/referencing/WraparoundApplicator.java |  24 +-
 .../internal/referencing/WraparoundInEnvelope.java | 245 ---------------
 .../operation/projection/NormalizedProjection.java |  25 +-
 .../transform/ConcatenatedTransformDirect.java     |   4 +-
 .../transform/ConcatenatedTransformDirect2D.java   |   4 +-
 .../operation/transform/WraparoundTransform.java   |  92 +++---
 .../operation/transform/MathTransformTestCase.java |   2 +-
 13 files changed, 618 insertions(+), 650 deletions(-)
 create mode 100644 core/sis-referencing/src/main/java/org/apache/sis/geometry/WraparoundInEnvelope.java
 delete mode 100644 core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/WraparoundInEnvelope.java


Mime
View raw message