Uses of Enum Class
org.opengis.test.CalculationType
Package
Description
The GeoAPI conformance testing framework.
Validators and test suites for the
org.opengis.referencing
package.-
Uses of CalculationType in org.opengis.test
Modifier and TypeMethodDescriptionstatic CalculationType
Returns the enum constant of this class with the specified name.static CalculationType[]
CalculationType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
ToleranceModifier.adjust
(double[] tolerances, DirectPosition coordinates, CalculationType mode) Adjusts the tolerance threshold for comparing the given coordinate along each dimensions.Modifier and TypeMethodDescriptionstatic ToleranceModifier
ToleranceModifiers.scale
(Set<CalculationType> types, double... factors) Multiplies tolerance values by the given factors. -
Uses of CalculationType in org.opengis.test.referencing
Modifier and TypeMethodDescriptionprotected final void
TransformTestCase.assertCoordinateEquals
(double[] expected, double[] actual, int index, CalculationType mode, String message) Asserts that a single coordinate is equal to the expected one within a positive delta.protected final void
TransformTestCase.assertCoordinateEquals
(double[] expected, float[] actual, int index, CalculationType mode, String message) Asserts that a single coordinate is equal to the expected one within a positive delta.protected final void
TransformTestCase.assertCoordinateEquals
(float[] expected, double[] actual, int index, CalculationType mode, String message) Asserts that a single coordinate is equal to the expected one within a positive delta.protected final void
TransformTestCase.assertCoordinateEquals
(float[] expected, float[] actual, int index, CalculationType mode, String message) Asserts that a single coordinate is equal to the expected one within a positive delta.protected final void
TransformTestCase.assertCoordinatesEqual
(int dimension, double[] expectedPts, int expectedOffset, double[] actualPts, int actualOffset, int numPoints, CalculationType mode, String message) Asserts that coordinate values are equal to the expected ones within a positive delta.protected final void
TransformTestCase.assertCoordinatesEqual
(int dimension, double[] expectedPts, int expectedOffset, float[] actualPts, int actualOffset, int numPoints, CalculationType mode, String message) Asserts that coordinate values are equal to the expected ones within a positive delta.protected final void
TransformTestCase.assertCoordinatesEqual
(int dimension, float[] expectedPts, int expectedOffset, double[] actualPts, int actualOffset, int numPoints, CalculationType mode, String message) Asserts that coordinate values are equal to the expected ones within a positive delta.protected final void
TransformTestCase.assertCoordinatesEqual
(int dimension, float[] expectedPts, int expectedOffset, float[] actualPts, int actualOffset, int numPoints, CalculationType mode, String message) Asserts that coordinate values are equal to the expected ones within a positive delta.protected void
TransformTestCase.normalize
(DirectPosition expected, DirectPosition actual, CalculationType mode) Invoked by allassertCoordinateEqual(…)
methods before two positions are compared.