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 5e9e53f10c5a7bab5811c59a66c26cb40a8214b2 Author: Martin Desruisseaux <[email protected]> AuthorDate: Sat Aug 20 16:52:13 2022 +0200 Replace "inverse projection" by "reverse projection". This is a change in documentation only. --- .../operation/projection/AuthalicConversion.java | 2 +- .../operation/projection/CassiniSoldner.java | 4 ++-- .../operation/projection/ConformalProjection.java | 4 ++-- .../referencing/operation/projection/Inverter.java | 6 +++--- .../projection/ModifiedAzimuthalEquidistant.java | 4 ++-- .../operation/projection/NormalizedProjection.java | 20 ++++++++++---------- .../operation/projection/ObliqueStereographic.java | 2 +- .../referencing/operation/projection/Polyconic.java | 2 +- .../operation/projection/TransverseMercator.java | 8 ++++---- .../operation/projection/AlbersEqualAreaTest.java | 4 ++-- .../projection/AzimuthalEquidistantTest.java | 2 +- .../referencing/operation/projection/Benchmark.java | 4 ++-- .../projection/LambertAzimuthalEqualAreaTest.java | 2 +- .../operation/projection/MercatorTest.java | 2 +- .../operation/projection/MollweideTest.java | 2 +- .../projection/ObliqueStereographicTest.java | 4 ++-- .../operation/projection/PolyconicTest.java | 2 +- .../projection/ProjectionResultComparator.java | 4 ++-- .../operation/projection/TransverseMercatorTest.java | 2 +- 19 files changed, 40 insertions(+), 40 deletions(-) diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/AuthalicConversion.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/AuthalicConversion.java index 640a764a7b..2595d59440 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/AuthalicConversion.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/AuthalicConversion.java @@ -61,7 +61,7 @@ abstract class AuthalicConversion extends NormalizedProjection { private static final double ECCENTRICITY_THRESHOLD = 0.1; /** - * Coefficients of the first terms in the series expansion of the inverse projection. + * Coefficients of the first terms in the series expansion of the reverse projection. * Values of those coefficients depend only on {@linkplain #eccentricity eccentricity} value. * The series expansion is published under the following form, where β is the <cite>authalic latitude</cite>: * diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/CassiniSoldner.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/CassiniSoldner.java index 8931e9ad8f..b84ae8d76d 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/CassiniSoldner.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/CassiniSoldner.java @@ -63,7 +63,7 @@ public class CassiniSoldner extends MeridianArcBased { /** * The hyperbolic variants of this projection. {@link #VANUA} is the special case * of <cite>Vanua Levu Grid</cite>, which is the only hyperbolic variant for which - * inverse projection is supported. + * reverse projection is supported. * * @see #variant */ @@ -78,7 +78,7 @@ public class CassiniSoldner extends MeridianArcBased { /** * The special case of <cite>"Vanua Levu Grid"</cite> at φ₀=16°15′S. - * This is the only hyperbolic variant for which inverse projection is supported. + * This is the only hyperbolic variant for which reverse projection is supported. * This special case is detected by checking the value of the latitude of origin. */ VANUA(HYPERBOLIC.operationName, HyperbolicCassiniSoldner.IDENTIFIER); diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java index 857a9a350b..9bf0c2b095 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java @@ -84,7 +84,7 @@ abstract class ConformalProjection extends NormalizedProjection { private final boolean useIterations; /** - * Coefficients of the first terms in the series expansion of the inverse projection. + * Coefficients of the first terms in the series expansion of the reverse projection. * Values of those coefficients depend only on {@linkplain #eccentricity eccentricity} value. * The series expansion is published under the following form, where χ is the <cite>conformal latitude</cite>: * @@ -168,7 +168,7 @@ abstract class ConformalProjection extends NormalizedProjection { * Lambert Conic Conformal for instance. * * <p>This function is <em>almost</em> the converse of the {@link #expΨ(double, double)} function. - * In a Mercator inverse projection, the value of the {@code rexpΨ} argument is {@code exp(-Ψ)}.</p> + * In a Mercator reverse projection, the value of the {@code rexpΨ} argument is {@code exp(-Ψ)}.</p> * * <p>The input should be a positive number, otherwise the result will be either outside * the [-π/2 … π/2] range, or will be NaN. Its behavior at some particular points is:</p> diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Inverter.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Inverter.java index 935603b3b4..3fe1b4d290 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Inverter.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Inverter.java @@ -24,7 +24,7 @@ import static java.lang.Math.abs; /** * A temporary Jacobian matrix where to write the derivative of a forward projection. - * This Jacobian matrix is used for calculation of inverse projection when no inverse + * This Jacobian matrix is used for calculation of reverse projection when no inverse * formulas is available, or when the inverse formula is too approximate (for example * because eccentricity is too high). This class processes as below: * @@ -41,7 +41,7 @@ import static java.lang.Math.abs; * * <p>This algorithm is defined in a {@link Matrix2} subclass for allowing map projection * implementations to use {@code if (derivative instanceof Inverter)} check for detecting - * when a {@code transform} method is invoked for the purpose of an inverse projection.</p> + * when a {@code transform} method is invoked for the purpose of a reverse projection.</p> * * @author Martin Desruisseaux (Geomatys) * @version 1.1 @@ -68,7 +68,7 @@ final class Inverter extends Matrix2 { * <p>Note: restricted to {@link Orthographic} projection for now, * but may be generalized to any projection in a future version.</p> * - * @param projection the forward projection for which to compute an inverse projection. + * @param projection the forward projection for which to compute a reverse projection. * @param x the easting value from {@code srcPts[srcOff]}. * @param y the northing value from {@code srcPts[srcOff+1]}. * @param dstPts the array where to refine the (λ,φ) values. diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ModifiedAzimuthalEquidistant.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ModifiedAzimuthalEquidistant.java index a4d1a74cf0..76d77370d9 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ModifiedAzimuthalEquidistant.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ModifiedAzimuthalEquidistant.java @@ -73,14 +73,14 @@ public class ModifiedAzimuthalEquidistant extends AzimuthalEquidistant { * The ℯ⋅cos(φ₀)/√(1 − ℯ²) term. This is the <var>H</var> term in EPSG guidance notes * but without the cos(α) term (omitted because α depends on the point to project). * - * <p>Note that during inverse projection, EPSG guidance notes has a <var>A</var> as: + * <p>Note that during reverse projection, EPSG guidance notes has a <var>A</var> as: * −ℯ²⋅cos²φ₀/(1 − ℯ²)⋅cos²α. We opportunistically use Hp² for that purpose.</p> */ private final double Hp; /** * The 3⋅ℯ²⋅sin(φ₀)⋅cos(φ₀)/(1 − ℯ²) term. This is the <var>B</var> term in EPSG guidance notes - * for inverse projection but without the terms that depend on coordinates of transformed point. + * for reverse projection but without the terms that depend on coordinates of transformed point. */ private final double Bp; diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java index 39121747fd..2667e8f5d1 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java @@ -116,7 +116,7 @@ import static java.util.logging.Logger.getLogger; * on intent (except indirectly), in order to make clear that those parameters are not used by subclasses. * The ability to recognize two {@code NormalizedProjection}s as {@linkplain #equals(Object, ComparisonMode) equivalent} * without consideration for the scale factor (among other) allow more efficient concatenation in some cases - * (typically some combinations of inverse projection followed by a direct projection). + * (typically some combinations of reverse projection followed by a direct projection). * * <p>All angles (either fields, method parameters or return values) in this class and subclasses are * in radians. This is the opposite of {@link Parameters} where all angles are in CRS-dependent units, @@ -910,8 +910,8 @@ public abstract class NormalizedProjection extends AbstractMathTransform2D imple if (m != null) { /* * 'projectedSpace' values: - * - false if applyOtherFirst == false since we have (inverse projection) → (affine) → (projection). - * - true if applyOtherFirst == true since we have (projection) → (affine) → (inverse projection). + * - false if applyOtherFirst == false since we have (reverse projection) → (affine) → (projection). + * - true if applyOtherFirst == true since we have (projection) → (affine) → (reverse projection). */ return forward.tryConcatenate(applyOtherFirst, m, factory); } @@ -921,8 +921,8 @@ public abstract class NormalizedProjection extends AbstractMathTransform2D imple /** * Concatenates or pre-concatenates in an optimized way this projection with the given transform, if possible. - * If transforms are concatenated in an (inverse projection) → (affine) → (projection) sequence where the - * (projection) and (inverse projection) steps are the {@linkplain #inverse() inverse} of each other, + * If transforms are concatenated in a (reverse projection) → (affine) → (projection) sequence where the + * (projection) and (reverse projection) steps are the {@linkplain #inverse() inverse} of each other, * then in some particular case the sequence can be replaced by a single affine transform. * If no such simplification is possible, this method returns {@code null}. * @@ -939,8 +939,8 @@ public abstract class NormalizedProjection extends AbstractMathTransform2D imple if (m != null) { /* * 'projectedSpace' values: - * - false if applyOtherFirst == true since we have (inverse projection) → (affine) → (projection). - * - true if applyOtherFirst == false since we have (projection) → (affine) → (inverse projection). + * - false if applyOtherFirst == true since we have (reverse projection) → (affine) → (projection). + * - true if applyOtherFirst == false since we have (projection) → (affine) → (reverse projection). */ return tryConcatenate(!applyOtherFirst, m, factory); } @@ -969,10 +969,10 @@ public abstract class NormalizedProjection extends AbstractMathTransform2D imple } /** - * If a sequence of 3 transforms are (inverse projection) → (affine) → (projection) where - * the (projection) and (inverse projection) steps are the inverse of each other, returns + * If a sequence of 3 transforms are (reverse projection) → (affine) → (projection) where + * the (projection) and (reverse projection) steps are the inverse of each other, returns * the matrix of the affine transform step. Otherwise returns {@code null}. This method - * accepts also (projection) → (affine) → (inverse projection) sequence, but such sequences + * accepts also (projection) → (affine) → (reverse projection) sequence, but such sequences * should be much more unusual. * * @param projection either {@link NormalizedProjection} or {@link Inverse}. diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ObliqueStereographic.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ObliqueStereographic.java index 9d2f3eb0b2..104e2b2bda 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ObliqueStereographic.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ObliqueStereographic.java @@ -155,7 +155,7 @@ public class ObliqueStereographic extends NormalizedProjection { χ0 = asin(sinχ0); cosχ0 = cos(χ0); /* - * Following variables are used only by the inverse projection. + * Following variables are used only by the reverse projection. */ g = tan(PI/4 - χ0/2); h = 2*tan(χ0) + g; diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Polyconic.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Polyconic.java index e19d6a0036..f5b0be2d8c 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Polyconic.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Polyconic.java @@ -67,7 +67,7 @@ public class Polyconic extends MeridianArcBased { private static final long serialVersionUID = -808283103170618880L; /** - * Coefficients for inverse projection. Snyder 18-17 gives: + * Coefficients for reverse projection. Snyder 18-17 gives: * * {@preformat math * c₀ = (-5/256 ⋅e⁶ + -3/64 ⋅e⁴ + -1/4⋅e² + 1) diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/TransverseMercator.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/TransverseMercator.java index 4696faabb4..e836e5ce63 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/TransverseMercator.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/TransverseMercator.java @@ -178,7 +178,7 @@ public class TransverseMercator extends NormalizedProjection { private final double cf2, cf4, cf6, cf8; /** - * Coefficients in the series expansion of the inverse projection, + * Coefficients in the series expansion of the reverse projection, * depending only on {@linkplain #eccentricity eccentricity} value. */ private final double ci2, ci4, ci6, ci8; @@ -264,7 +264,7 @@ public class TransverseMercator extends NormalizedProjection { cf6 = ( -103. / 140)*n4 + (61. / 240)*n3; cf8 = (49561. / 161280)*n4; /* - * Coefficients for the inverse projections. + * Coefficients for the reverse projections. * Add the smallest values first in order to reduce rounding errors. */ ci2 = ( -1. / 360)*n4 + (37. / 96)*n3 + (-2. / 3)*n2 + n/2; @@ -431,8 +431,8 @@ public class TransverseMercator extends NormalizedProjection { * Karney (2009) uses an “extended” domain of transverse Mercator projection for ∆λ ≥ (1 − ℯ)⋅90°, * but Apache SIS does not support such extension. Consequently ∆λ values between (1 − ℯ)⋅90° and 90° * should be considered invalid but are not rejected by Apache SIS. Note that those invalid values are - * consistent with the {@linkplain #inverseTransform(double[], int, double[], int) inverse projection} - * (i.e. applying a projection followed by an inverse projection gives approximately the original values). + * consistent with the {@linkplain #inverseTransform(double[], int, double[], int) reverse projection} + * (i.e. applying a projection followed by a reverse projection gives approximately the original values). * * <div class="note"><b>Rational:</b> * those coordinates are accepted despite the low accuracy of projection results because they are sometime diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AlbersEqualAreaTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AlbersEqualAreaTest.java index 9c388547f9..a0d2dbec1a 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AlbersEqualAreaTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AlbersEqualAreaTest.java @@ -195,7 +195,7 @@ public final strictfp class AlbersEqualAreaTest extends MapProjectionTestCase { } /** - * Tests a few "special" points which need special care in inverse projection algorithm. + * Tests a few "special" points which need special care in reverse projection algorithm. * * @throws FactoryException if an error occurred while creating the map projection. * @throws TransformException if an error occurred while projecting a point. @@ -295,7 +295,7 @@ public final strictfp class AlbersEqualAreaTest extends MapProjectionTestCase { toleranceModifier = ToleranceModifier.PROJECTION; /* * Skip inverse transform because the 176.003° become -183.997°. It is not the purpose - * of this test to verify longitude wraparound in inverse projection (we do not expect + * of this test to verify longitude wraparound in reverse projection (we do not expect * such wraparound to be applied). */ isInverseTransformSupported = false; diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AzimuthalEquidistantTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AzimuthalEquidistantTest.java index a87d5bfe27..41dc6be5f2 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AzimuthalEquidistantTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/AzimuthalEquidistantTest.java @@ -56,7 +56,7 @@ public strictfp class AzimuthalEquidistantTest extends MapProjectionTestCase { } /** - * Tests the forward and inverse projection using test point given in Snyder page 337. + * Tests the forward and reverse projection using test point given in Snyder page 337. * The Snyder's test uses a sphere of radius R=3 and a center at 40°N and 100°W. * The test in this class modify the longitude to 10°W for avoiding to mix wraparound * considerations in this test. diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/Benchmark.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/Benchmark.java index 5dacbad172..b07131969b 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/Benchmark.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/Benchmark.java @@ -89,7 +89,7 @@ public final class Benchmark { private final Transforms forward; /** - * The math transforms to use for the inverse projection. + * The math transforms to use for the reverse projection. */ private final Transforms inverse; @@ -104,7 +104,7 @@ public final class Benchmark { private final double[] result; /** - * Difference between inverse projections and the original coordinates. + * Difference between reverse projections and the original coordinates. */ private final Statistics errors; diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/LambertAzimuthalEqualAreaTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/LambertAzimuthalEqualAreaTest.java index 72427c2dac..ab9d6d00cc 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/LambertAzimuthalEqualAreaTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/LambertAzimuthalEqualAreaTest.java @@ -241,7 +241,7 @@ public final strictfp class LambertAzimuthalEqualAreaTest extends MapProjectionT tolerance = LINEAR_TOLERANCE; createProjection(elliptical, 90, true); /* - * Project the origin. Result should be (0,0). Do not test the inverse projection + * Project the origin. Result should be (0,0). Do not test the reverse projection * because the longitude could be anything and still be the North pole. We test that * by projecting again with an other longitude, set to 45°, and expect the same result. */ diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorTest.java index 16bc487a69..abd216f540 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorTest.java @@ -409,7 +409,7 @@ public final strictfp class MercatorTest extends MapProjectionTestCase { tolerance = Formulas.LINEAR_TOLERANCE; verifyTransform(coordinates, expected); /* - * Replace the 181° longitude by -179° so we can test inverse projection. + * Replace the 181° longitude by -179° so we can test reverse projection. */ coordinates[2] = -179; isInverseTransformSupported = true; diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MollweideTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MollweideTest.java index 98e83ec813..8400365395 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MollweideTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MollweideTest.java @@ -106,7 +106,7 @@ public final strictfp class MollweideTest extends MapProjectionTestCase { } /** - * Tests inverse projection of a point outside domain of validity. + * Tests reverse projection of a point outside domain of validity. * * @throws FactoryException if an error occurred while creating the map projection. * @throws TransformException if an error occurred while projecting a point. diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ObliqueStereographicTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ObliqueStereographicTest.java index f7051152cb..68652c8320 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ObliqueStereographicTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ObliqueStereographicTest.java @@ -238,7 +238,7 @@ public final strictfp class ObliqueStereographicTest extends MapProjectionTestCa } /** - * Tests consistency between forward and inverse projection using a point that was known to fail. + * Tests consistency between forward and reverse projection using a point that was known to fail. * * @throws FactoryException if an error occurred while creating the map projection. * @throws TransformException if an error occurred while projecting a coordinate. @@ -342,7 +342,7 @@ public final strictfp class ObliqueStereographicTest extends MapProjectionTestCa dstPts[1] = toDegrees(dstPts[1]); // Use a smaller tolerance because spherical and elliptical formulas should be equivalent in this case. - assertArrayEquals("Spherical inverse projection", refPts, dstPts, Formulas.ANGULAR_TOLERANCE / 1E6); + assertArrayEquals("Spherical reverse projection", refPts, dstPts, Formulas.ANGULAR_TOLERANCE / 1E6); } /** diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/PolyconicTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/PolyconicTest.java index 9f1cbe9c74..909c14c121 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/PolyconicTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/PolyconicTest.java @@ -77,7 +77,7 @@ public final strictfp class PolyconicTest extends MapProjectionTestCase { /** * Tests the projection of a few points on an ellipsoid. The first point in this test is provided * by Snyder at page 304. The Snyder example gives intermediate values at different step, which may - * be verified by executing this code in the debugger. In particular during inverse projection, + * be verified by executing this code in the debugger. In particular during reverse projection, * values of φ should be as below during each iteration steps: * * <ol> diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java index 3e28afc2a5..924dd81396 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java @@ -50,9 +50,9 @@ import static org.junit.Assert.*; @SuppressWarnings("serial") final strictfp class ProjectionResultComparator extends NormalizedProjection { /** - * Maximum difference allowed when comparing the result of an inverse projections, in radians. + * Maximum difference allowed when comparing the result of an reverse projections, in radians. * A value of 1E-11 radians is approximately 5 centimetres. - * Note that inverse projections are typically less accurate than forward projections. + * Note that reverse projections are typically less accurate than forward projections. */ private static final double INVERSE_TOLERANCE = NormalizedProjection.ANGULAR_TOLERANCE; diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/TransverseMercatorTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/TransverseMercatorTest.java index 3268687771..39683af95e 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/TransverseMercatorTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/TransverseMercatorTest.java @@ -71,7 +71,7 @@ public final strictfp class TransverseMercatorTest extends MapProjectionTestCase * Karney (2009) uses an “extended” domain of transverse Mercator projection, but Apache SIS * does not support such extension. Consequently ∆λ values between (1 − ℯ)⋅90° and 90° should * be considered invalid but are not rejected by Apache SIS. Note that even for those invalid - * values, the inverse projection continue to gives back the original values. + * values, the reverse projection continue to gives back the original values. */ private static final double DOMAIN_OF_VALIDITY = 82.63627282416406551; // (1 − ℯ)⋅90°
