sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 01/03: Documentation updates.
Date Sun, 16 Dec 2018 16:47:10 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 9fac26170266cd3468754ad886a7d7b55b63b0a2
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Sun Dec 16 16:04:01 2018 +0100

    Documentation updates.
---
 .../main/java/org/apache/sis/coverage/grid/GridChange.java   | 12 ++++++++----
 .../apache/sis/referencing/operation/matrix/Matrix4Test.java |  4 ++++
 ide-project/NetBeans/nbproject/genfiles.properties           |  2 +-
 ide-project/NetBeans/nbproject/project.xml                   |  1 +
 4 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/core/sis-raster/src/main/java/org/apache/sis/coverage/grid/GridChange.java b/core/sis-raster/src/main/java/org/apache/sis/coverage/grid/GridChange.java
index cc38a0f..ce3cdeb 100644
--- a/core/sis-raster/src/main/java/org/apache/sis/coverage/grid/GridChange.java
+++ b/core/sis-raster/src/main/java/org/apache/sis/coverage/grid/GridChange.java
@@ -45,10 +45,14 @@ import org.apache.sis.util.resources.Vocabulary;
  * Example:
  *
  * {@preformat java
- *     public GridCoverage read(GridGeometry domain, int... range) throws DataStoreException
{
- *         GridChange change = new GridChange(domain, getGridGeometry());
- *         GridExtent toRead = change.getTargetRange();
- *         int[] subsampling = change.getTargetStrides());
+ *     class MyDataStorage extends GridCoverageResource {
+ *         &#64;Override
+ *         public GridCoverage read(GridGeometry domain, int... range) throws DataStoreException
{
+ *             GridChange change = new GridChange(domain, getGridGeometry());
+ *             GridExtent toRead = change.getTargetRange();
+ *             int[] subsampling = change.getTargetStrides());
+ *             // Do reading here.
+ *         }
  *     }
  * }
  * </div>
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/Matrix4Test.java
b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/Matrix4Test.java
index 2df60e9..a30109b 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/Matrix4Test.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/Matrix4Test.java
@@ -83,6 +83,10 @@ public final strictfp class Matrix4Test extends MatrixTestCase {
     /**
      * Tests multiplication of a matrix that contains NaN numbers.
      * We want to avoid having NaNs of a full row or full column.
+     *
+     * Note that a NaN may appear in the translation column, depending on the matrix order
in multiplication.
+     * So handling of NaN during multiplication does not eliminate completely the need to
write some NaN-safe
+     * code in the Apache SIS modules.
      */
     @Test
     public void testMultiplyWithNaN() {
diff --git a/ide-project/NetBeans/nbproject/genfiles.properties b/ide-project/NetBeans/nbproject/genfiles.properties
index 8afab47..d678a5e 100644
--- a/ide-project/NetBeans/nbproject/genfiles.properties
+++ b/ide-project/NetBeans/nbproject/genfiles.properties
@@ -3,6 +3,6 @@
 build.xml.data.CRC32=58e6b21c
 build.xml.script.CRC32=462eaba0
 build.xml.stylesheet.CRC32=28e38971@1.53.1.46
-nbproject/build-impl.xml.data.CRC32=fa87eb46
+nbproject/build-impl.xml.data.CRC32=d09c7daf
 nbproject/build-impl.xml.script.CRC32=a7689f96
 nbproject/build-impl.xml.stylesheet.CRC32=3a2fa800@1.89.1.48
diff --git a/ide-project/NetBeans/nbproject/project.xml b/ide-project/NetBeans/nbproject/project.xml
index e5c4c7f..d8dacc1 100644
--- a/ide-project/NetBeans/nbproject/project.xml
+++ b/ide-project/NetBeans/nbproject/project.xml
@@ -79,6 +79,7 @@
         </references>
         <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
             <word>accessor</word>
+            <word>antimeridian</word>
             <word>bilevel</word>
             <word>bitmask</word>
             <word>boolean</word>


Mime
View raw message