You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by am...@apache.org on 2020/04/22 09:07:40 UTC
[sis] branch geoapi-4.0 updated: doc(Referencing): minor note on
envelope utility method.
This is an automated email from the ASF dual-hosted git repository.
amanin pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
new e3a2b62 doc(Referencing): minor note on envelope utility method.
e3a2b62 is described below
commit e3a2b625fb37da07798e2108e920373b27e78cfc
Author: Alexis Manin <am...@apache.org>
AuthorDate: Wed Apr 22 11:05:28 2020 +0200
doc(Referencing): minor note on envelope utility method.
---
.../src/main/java/org/apache/sis/geometry/GeneralEnvelope.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/geometry/GeneralEnvelope.java b/core/sis-referencing/src/main/java/org/apache/sis/geometry/GeneralEnvelope.java
index b8b6254..6d7d026 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/geometry/GeneralEnvelope.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/geometry/GeneralEnvelope.java
@@ -469,6 +469,9 @@ public class GeneralEnvelope extends ArrayEnvelope implements Cloneable, Seriali
* floating point values using {@link org.apache.sis.referencing.crs.DefaultTemporalCRS},
* then delegates to {@link #setRange(int, double, double)}.
*
+ * Beware that any unspecified time will be convered to {@link Double#NaN} value, therefore invalidating the time
+ * range.
+ *
* @param startTime the lower temporal value, or {@code null} if unspecified.
* @param endTime the upper temporal value, or {@code null} if unspecified.
* @return whether the temporal component has been set.