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 5e8b41dc1341c75f881c0b98af9cc251be01ad8f Author: Martin Desruisseaux <[email protected]> AuthorDate: Tue Jun 24 12:01:21 2025 +0200 Documentation fixes. --- .../main/org/apache/sis/coverage/CategoryList.java | 10 ++++----- .../operation/transform/ConcatenatedTransform.java | 10 ++++----- .../transform/ConcatenatedTransformDirect.java | 4 ++-- .../operation/transform/ConstantTransform1D.java | 8 ++++---- .../operation/transform/CopyTransform.java | 2 +- .../transform/EllipsoidToCentricTransform.java | 2 +- .../transform/ExponentialTransform1D.java | 8 ++++---- .../operation/transform/IdentityTransform.java | 10 ++++----- .../operation/transform/IdentityTransform1D.java | 8 ++++---- .../operation/transform/InterpolatedTransform.java | 2 +- .../operation/transform/LinearTransform1D.java | 10 ++++----- .../transform/LogarithmicTransform1D.java | 8 ++++---- .../operation/transform/PassThroughTransform.java | 12 +++++------ .../operation/transform/PowerTransform1D.java | 8 ++++---- .../operation/transform/ProjectiveTransform.java | 2 +- .../operation/transform/ScaleTransform.java | 2 +- .../operation/transform/TranslationTransform.java | 2 +- .../operation/transform/WraparoundTransform.java | 4 ++-- .../operation/transform/MathTransformWrapper.java | 8 ++++---- .../sis/geometries/MeshPrimitiveComparator.java | 4 ++-- .../org/apache/sis/geometries/math/Vectors.java | 24 +++++++++++----------- 21 files changed, 74 insertions(+), 74 deletions(-) diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/CategoryList.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/CategoryList.java index 8a828930b0..5c23edb068 100644 --- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/CategoryList.java +++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/CategoryList.java @@ -523,7 +523,7 @@ final class CategoryList extends AbstractList<Category> implements MathTransform } /** - * Transforms a list of coordinate values. This implementation accepts float or double arrays, + * Transforms a sequence of coordinate tuples. This implementation accepts float or double arrays, * since the quasi-totality of the implementation is the same. Locale variables still of the * {@code double} type because this is the type used in {@link Category} objects. */ @@ -653,7 +653,7 @@ final class CategoryList extends AbstractList<Category> implements MathTransform } /** - * Transforms a list of coordinate values. This method can be invoked only if {@link #categories} contains + * Transforms a sequence of coordinate tuples. This method can be invoked only if {@link #categories} contains * at least two elements, otherwise a {@code MathTransform} implementation from another package is used. */ @Override @@ -663,7 +663,7 @@ final class CategoryList extends AbstractList<Category> implements MathTransform } /** - * Transforms a list of coordinate values. This method can be invoked only if {@link #categories} contains + * Transforms a sequence of coordinate tuples. This method can be invoked only if {@link #categories} contains * at least two elements, otherwise a {@code MathTransform} implementation from another package is used. */ @Override @@ -673,7 +673,7 @@ final class CategoryList extends AbstractList<Category> implements MathTransform } /** - * Transforms a list of coordinate values. This method can be invoked only if {@link #categories} contains + * Transforms a sequence of coordinate tuples. This method can be invoked only if {@link #categories} contains * at least two elements, otherwise a {@code MathTransform} implementation from another package is used. */ @Override @@ -683,7 +683,7 @@ final class CategoryList extends AbstractList<Category> implements MathTransform } /** - * Transforms a list of coordinate values. This method can be invoked only if {@link #categories} contains + * Transforms a sequence of coordinate tuples. This method can be invoked only if {@link #categories} contains * at least two elements, otherwise a {@code MathTransform} implementation from another package is used. */ @Override diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java index e8208654e8..968cc4e2d2 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java @@ -574,7 +574,7 @@ class ConcatenatedTransform extends AbstractMathTransform implements Serializabl } /** - * Transforms a single position in a list of coordinate values, + * Transforms a single position in a sequence of coordinate tuples, * and optionally returns the derivative at that location. * * @throws TransformException if {@link #transform1} or {@link #transform2} failed. @@ -608,7 +608,7 @@ class ConcatenatedTransform extends AbstractMathTransform implements Serializabl } /** - * Transforms many positions in a list of coordinate values. The source points are first + * Transforms many positions in a sequence of coordinate tuples. The source points are first * transformed by {@link #transform1}, then the intermediate points are transformed by * {@link #transform2}. The transformations are performed without intermediate buffer * if it can be avoided. @@ -691,7 +691,7 @@ class ConcatenatedTransform extends AbstractMathTransform implements Serializabl } /** - * Transforms many positions in a list of coordinate values. The source points are first + * Transforms many positions in a sequence of coordinate tuples. The source points are first * transformed by {@link #transform1}, then the intermediate points are transformed by * {@link #transform2}. An intermediate buffer of type {@code double[]} for intermediate * results is used for reducing rounding errors. @@ -753,7 +753,7 @@ class ConcatenatedTransform extends AbstractMathTransform implements Serializabl } /** - * Transforms many positions in a list of coordinate values. The source points are first + * Transforms many positions in a sequence of coordinate tuples. The source points are first * transformed by {@link #transform1}, then the intermediate points are transformed by * {@link #transform2}. An intermediate buffer of type {@code double[]} for intermediate * results is used for reducing rounding errors. @@ -795,7 +795,7 @@ class ConcatenatedTransform extends AbstractMathTransform implements Serializabl } /** - * Transforms many positions in a list of coordinate values. The source points are first + * Transforms many positions in a sequence of coordinate tuples. The source points are first * transformed by {@link #transform1}, then the intermediate points are transformed by * {@link #transform2}. The transformations are performed without intermediate buffer * if it can be avoided. diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransformDirect.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransformDirect.java index 4a59108fc9..a9e4b3f98a 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransformDirect.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConcatenatedTransformDirect.java @@ -66,7 +66,7 @@ class ConcatenatedTransformDirect extends ConcatenatedTransform { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, final int srcOff, @@ -79,7 +79,7 @@ class ConcatenatedTransformDirect extends ConcatenatedTransform { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, final int srcOff, diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConstantTransform1D.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConstantTransform1D.java index 365af446cc..d7eacfd8b3 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConstantTransform1D.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ConstantTransform1D.java @@ -65,7 +65,7 @@ final class ConstantTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, @@ -75,7 +75,7 @@ final class ConstantTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, @@ -85,7 +85,7 @@ final class ConstantTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, @@ -95,7 +95,7 @@ final class ConstantTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float [] srcPts, int srcOff, diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/CopyTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/CopyTransform.java index 60c73b33e6..edf8f01ffe 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/CopyTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/CopyTransform.java @@ -153,7 +153,7 @@ final class CopyTransform extends AbstractLinearTransform { } /** - * Transforms a single position in a list of coordinate values, + * Transforms a single position in a sequence of coordinate tuples, * and optionally returns the derivative at that location. */ @Override diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java index e28bde8952..03128847a6 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java @@ -1033,7 +1033,7 @@ public class EllipsoidToCentricTransform extends AbstractMathTransform implement } /** - * Inverse transforms a single position in a list of coordinate values, + * Inverse transforms a single position in a sequence of coordinate tuples, * and optionally returns the derivative at that location. * * <p>This method delegates the derivative computation to the enclosing class, then inverses the result. diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ExponentialTransform1D.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ExponentialTransform1D.java index 7399694ac8..1984d2f642 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ExponentialTransform1D.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ExponentialTransform1D.java @@ -154,7 +154,7 @@ final class ExponentialTransform1D extends AbstractMathTransform1D implements Se } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts) { @@ -172,7 +172,7 @@ final class ExponentialTransform1D extends AbstractMathTransform1D implements Se } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, final float[] dstPts, int dstOff, int numPts) { @@ -190,7 +190,7 @@ final class ExponentialTransform1D extends AbstractMathTransform1D implements Se } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, final float[] dstPts, int dstOff, int numPts) { @@ -200,7 +200,7 @@ final class ExponentialTransform1D extends AbstractMathTransform1D implements Se } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform.java index 1471cab5fc..e7521d361d 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform.java @@ -161,7 +161,7 @@ final class IdentityTransform extends AbstractLinearTransform { } /** - * Transforms a single position in a list of coordinate values, + * Transforms a single position in a sequence of coordinate tuples, * and optionally returns the derivative at that location. */ @Override @@ -176,7 +176,7 @@ final class IdentityTransform extends AbstractLinearTransform { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, @@ -186,7 +186,7 @@ final class IdentityTransform extends AbstractLinearTransform { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, @@ -196,7 +196,7 @@ final class IdentityTransform extends AbstractLinearTransform { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, @@ -209,7 +209,7 @@ final class IdentityTransform extends AbstractLinearTransform { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float [] srcPts, int srcOff, diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform1D.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform1D.java index e7960050c2..2d0ca1ca9f 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform1D.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/IdentityTransform1D.java @@ -50,7 +50,7 @@ final class IdentityTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, @@ -60,7 +60,7 @@ final class IdentityTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, @@ -70,7 +70,7 @@ final class IdentityTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, @@ -82,7 +82,7 @@ final class IdentityTransform1D extends LinearTransform1D { } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float [] srcPts, int srcOff, diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/InterpolatedTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/InterpolatedTransform.java index 3ea35e7167..e53b2399c6 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/InterpolatedTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/InterpolatedTransform.java @@ -498,7 +498,7 @@ public class InterpolatedTransform extends DatumShiftTransform { } /** - * Transforms a single position in a list of coordinate values, + * Transforms a single position in a sequence of coordinate tuples, * and optionally returns the derivative at that location. * * @throws TransformException if there is no convergence. diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LinearTransform1D.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LinearTransform1D.java index 2d401a70b5..1f6a735f1e 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LinearTransform1D.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LinearTransform1D.java @@ -308,7 +308,7 @@ class LinearTransform1D extends AbstractMathTransform1D implements LinearTransfo } /** - * Transforms many positions in a list of coordinate values. The default implementation + * Transforms many positions in a sequence of coordinate tuples. The default implementation * computes the values from the {@link #scale} and {@link #offset} coefficients. */ @Override @@ -337,7 +337,7 @@ class LinearTransform1D extends AbstractMathTransform1D implements LinearTransfo } /** - * Transforms many positions in a list of coordinate values. The default implementation + * Transforms many positions in a sequence of coordinate tuples. The default implementation * computes the values from the {@link #scale} and {@link #offset} coefficients using * the {@code double} precision, then casts the result to the {@code float} type. */ @@ -367,7 +367,7 @@ class LinearTransform1D extends AbstractMathTransform1D implements LinearTransfo } /** - * Transforms many positions in a list of coordinate values. The default implementation + * Transforms many positions in a sequence of coordinate tuples. The default implementation * computes the values from the {@link #scale} and {@link #offset} coefficients using * the {@code double} precision, then casts the result to the {@code float} type. */ @@ -385,7 +385,7 @@ class LinearTransform1D extends AbstractMathTransform1D implements LinearTransfo } /** - * Transforms many positions in a list of coordinate values. The default implementation + * Transforms many positions in a sequence of coordinate tuples. The default implementation * computes the values from the {@link #scale} and {@link #offset} coefficients. */ @Override @@ -402,7 +402,7 @@ class LinearTransform1D extends AbstractMathTransform1D implements LinearTransfo } /** - * Transforms many distance vectors in a list of coordinate values. + * Transforms many distance vectors in a sequence of coordinate tuples. * The default implementation computes the values from the {@link #scale} coefficient only. */ @Override diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LogarithmicTransform1D.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LogarithmicTransform1D.java index 484afd6a08..a462962175 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LogarithmicTransform1D.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/LogarithmicTransform1D.java @@ -209,7 +209,7 @@ class LogarithmicTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts) { @@ -227,7 +227,7 @@ class LogarithmicTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, final float[] dstPts, int dstOff, int numPts) { @@ -245,7 +245,7 @@ class LogarithmicTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, final float[] dstPts, int dstOff, int numPts) { @@ -255,7 +255,7 @@ class LogarithmicTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PassThroughTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PassThroughTransform.java index 21777363f4..ad062977ee 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PassThroughTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PassThroughTransform.java @@ -365,8 +365,8 @@ public class PassThroughTransform extends AbstractMathTransform implements Seria } /** - * Transforms a single position in a list of coordinate values, and opportunistically - * computes the transform derivative if requested. + * Transforms a single position in a sequence of coordinate tuples, + * and opportunistically computes the transform derivative if requested. * * @return {@inheritDoc} * @throws TransformException if the {@linkplain #subTransform sub-transform} failed. @@ -514,7 +514,7 @@ public class PassThroughTransform extends AbstractMathTransform implements Seria } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. * * @throws TransformException if the {@linkplain #subTransform sub-transform} failed. */ @@ -524,7 +524,7 @@ public class PassThroughTransform extends AbstractMathTransform implements Seria } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. * * @throws TransformException if the {@linkplain #subTransform sub-transform} failed. */ @@ -534,7 +534,7 @@ public class PassThroughTransform extends AbstractMathTransform implements Seria } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. * * @throws TransformException if the {@linkplain #subTransform sub-transform} failed. */ @@ -558,7 +558,7 @@ public class PassThroughTransform extends AbstractMathTransform implements Seria } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. * * @throws TransformException if the {@linkplain #subTransform sub-transform} failed. */ diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PowerTransform1D.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PowerTransform1D.java index a2443616c0..e6068d5ac5 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PowerTransform1D.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/PowerTransform1D.java @@ -109,7 +109,7 @@ final class PowerTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts) { @@ -127,7 +127,7 @@ final class PowerTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, final float[] dstPts, int dstOff, int numPts) { @@ -145,7 +145,7 @@ final class PowerTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final double[] srcPts, int srcOff, final float[] dstPts, int dstOff, int numPts) { @@ -155,7 +155,7 @@ final class PowerTransform1D extends AbstractMathTransform1D implements Serializ } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public void transform(final float[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ProjectiveTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ProjectiveTransform.java index 88545458af..79940a69fb 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ProjectiveTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ProjectiveTransform.java @@ -341,7 +341,7 @@ class ProjectiveTransform extends AbstractLinearTransform implements ExtendedPre } /** - * Converts a single coordinate tuple in a list of coordinate values, + * Converts a single coordinate tuple in a sequence of coordinate tuples, * and optionally computes the derivative at that location. * * @return {@inheritDoc} diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ScaleTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ScaleTransform.java index 5dccc0701c..e79382f6d9 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ScaleTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/ScaleTransform.java @@ -189,7 +189,7 @@ final class ScaleTransform extends AbstractLinearTransform implements ExtendedPr } /** - * Converts a single position in a list of coordinate values, + * Converts a single position in a sequence of coordinate tuples, * and optionally computes the derivative at that location. * * @return {@inheritDoc} diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/TranslationTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/TranslationTransform.java index 0ef0454a96..1bce4aeb79 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/TranslationTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/TranslationTransform.java @@ -159,7 +159,7 @@ final class TranslationTransform extends AbstractLinearTransform implements Exte } /** - * Converts a single position in a list of coordinate values, + * Converts a single position in a sequence of coordinate tuples, * and optionally computes the derivative at that location. * * @return {@inheritDoc} diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/WraparoundTransform.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/WraparoundTransform.java index 8567d42002..23d31dc2cf 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/WraparoundTransform.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/WraparoundTransform.java @@ -325,7 +325,7 @@ public class WraparoundTransform extends AbstractMathTransform implements Serial } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. * The default implementation delegates to {@link #shift(double)} for each point. */ @Override @@ -341,7 +341,7 @@ public class WraparoundTransform extends AbstractMathTransform implements Serial } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. * The default implementation delegates to {@link #shift(double)} for each point. */ @Override diff --git a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/MathTransformWrapper.java b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/MathTransformWrapper.java index 47ed3485b4..5128e48787 100644 --- a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/MathTransformWrapper.java +++ b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/MathTransformWrapper.java @@ -96,7 +96,7 @@ public class MathTransformWrapper extends FormattableObject implements MathTrans } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public final void transform(final double[] srcPts, final int srcOff, @@ -107,7 +107,7 @@ public class MathTransformWrapper extends FormattableObject implements MathTrans } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public final void transform(final float[] srcPts, final int srcOff, @@ -118,7 +118,7 @@ public class MathTransformWrapper extends FormattableObject implements MathTrans } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public final void transform(final float [] srcPts, final int srcOff, @@ -129,7 +129,7 @@ public class MathTransformWrapper extends FormattableObject implements MathTrans } /** - * Transforms many positions in a list of coordinate values. + * Transforms many positions in a sequence of coordinate tuples. */ @Override public final void transform(final double[] srcPts, final int srcOff, diff --git a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/MeshPrimitiveComparator.java b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/MeshPrimitiveComparator.java index b22ea6b78d..7959516711 100644 --- a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/MeshPrimitiveComparator.java +++ b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/MeshPrimitiveComparator.java @@ -56,7 +56,7 @@ public final class MeshPrimitiveComparator { /** * Set to true to skip degenerated lines and triangles. - * This parameter only works when comparaison by elements is true. + * This parameter only works when comparison by elements is true. */ public MeshPrimitiveComparator skipDegenerated(boolean skipDegenerated) { this.skipDegenerated = skipDegenerated; @@ -65,7 +65,7 @@ public final class MeshPrimitiveComparator { /** * Finite list of attributes to compare. - * This parameter only works when comparaison by elements is true. + * This parameter only works when comparison by elements is true. */ public MeshPrimitiveComparator comparedAttributes(String ... names) { comparedAttributes = Arrays.asList(names); diff --git a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/Vectors.java b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/Vectors.java index 46edc2d7ed..43cdd0bcde 100644 --- a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/Vectors.java +++ b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/Vectors.java @@ -721,7 +721,7 @@ public final class Vectors extends Static { * * @param vector first vector * @param other second vector - * @return substraction of both vectors, buffer if not null + * @return subtraction of both vectors, buffer if not null */ public static double[] subtract(final double[] vector, final double[] other, double[] buffer){ if( vector.length != other.length ) { @@ -747,7 +747,7 @@ public final class Vectors extends Static { * @param vector first vector * @param other second vector * @param buffer must have same size as vector or be null. - * @return substraction of both vectors, buffer if not null + * @return subtraction of both vectors, buffer if not null */ public static float[] subtract(final float[] vector, final float[] other, float[] buffer){ if( vector.length != other.length ) { @@ -1211,39 +1211,39 @@ public final class Vectors extends Static { } /** - * Substract 'substraction' to all source1 elements, result is stored in buffer. + * Substract 'subtraction' to all source1 elements, result is stored in buffer. * @param source1 first vectors array * @param buffer result buffer, not null * @param source1Offset first array offset * @param bufferOffset output buffer offset - * @param substraction vector to subtract + * @param subtraction vector to subtract * @param nbTuple number of tuple to process * @return buffer result array, same as buffer parameter */ public static double[] subtractRegular(double[] source1, double[] buffer, - int source1Offset, int bufferOffset, double[] substraction, int nbTuple){ - final int tupleSize = substraction.length; + int source1Offset, int bufferOffset, double[] subtraction, int nbTuple){ + final int tupleSize = subtraction.length; for(int i=0,n=nbTuple*tupleSize;i<n;i++){ - buffer[bufferOffset+i] = source1[source1Offset+i] - substraction[i%tupleSize]; + buffer[bufferOffset+i] = source1[source1Offset+i] - subtraction[i%tupleSize]; } return buffer; } /** - * Substract 'substraction' to all source1 elements, result is stored in buffer. + * Substract 'subtraction' to all source1 elements, result is stored in buffer. * @param source1 first vectors array * @param buffer result buffer, not null * @param source1Offset first array offset * @param bufferOffset output buffer offset - * @param substraction vector to subtract + * @param subtraction vector to subtract * @param nbTuple number of tuple to process * @return buffer result array, same as buffer parameter */ public static float[] subtractRegular(float[] source1, float[] buffer, - int source1Offset, int bufferOffset, float[] substraction, int nbTuple){ - final int tupleSize = substraction.length; + int source1Offset, int bufferOffset, float[] subtraction, int nbTuple){ + final int tupleSize = subtraction.length; for(int i=0,n=nbTuple*tupleSize;i<n;i++){ - buffer[bufferOffset+i] = source1[source1Offset+i] - substraction[i%tupleSize]; + buffer[bufferOffset+i] = source1[source1Offset+i] - subtraction[i%tupleSize]; } return buffer; }
