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 (728f70e -> 11c6b74)
Date Sat, 26 Dec 2020 14:31:12 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 728f70e  Implementation of a java.awt.Shape backed by an array of coordinates that
we can handle more easily than with java.awt.geom.Path2D. It introduce a class hierarchy similar
to the OGC geometry classes (Polyline, Polygon, MultiPolygons), but it is not the intent to
provide an OGC geometries implementation now. Those classes are needed for simplifying `IsolineTracer`
(in a next commit).
     new fb43846  Replace the use of `java.awt.geom.Path2D` by `PathBuilder` in `IsolineTracer`.
It simplifies the algorithm and allow us to resolve the remaining spikes that we saw in isolines.
     new 11c6b74  Avoid the call to `Arrays.binarySearch(…)`. It has been identified by
profiling as a performance bottleneck (in the context of `Isolines`).

The 2 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:
 .../sis/internal/feature/j2d/PathBuilder.java      |   2 +-
 .../internal/processing/image/IsolineTracer.java   | 327 +++++++++------------
 .../sis/internal/processing/image/Isolines.java    |  37 +--
 .../internal/processing/image/IsolinesTest.java    |   2 +-
 4 files changed, 146 insertions(+), 222 deletions(-)


Mime
View raw message