Uses of Class
org.apache.sis.measure.NumberRange
Packages that use NumberRange
Package
Description
Functions that associates positions within a bounded space (its domain) to values (its range).
Provides helper classes for handling Java2D rendered images together with some operations.
A set of mathematical objects and algebraic utilities.
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
Helper classes for creating Math Transforms from a set of points.
-
Uses of NumberRange in org.apache.sis.coverage
Methods in org.apache.sis.coverage that return NumberRangeModifier and TypeMethodDescriptionNumberRange<?>Category.getSampleRange()Returns the range of values occurring in this category.Methods in org.apache.sis.coverage that return types with arguments of type NumberRangeModifier and TypeMethodDescriptionOptional<NumberRange<?>>SampleDimension.getSampleRange()Returns the range of values occurring in this sample dimension.Methods in org.apache.sis.coverage with parameters of type NumberRangeModifier and TypeMethodDescriptionSampleDimension.Builder.addQualitative(CharSequence name, NumberRange<?> samples) Adds a qualitative category for all samples in the specified range of values.SampleDimension.Builder.addQuantitative(CharSequence name, NumberRange<?> samples, NumberRange<?> converted) Constructs a quantitative category mapping samples to real values in the specified range.SampleDimension.Builder.addQuantitative(CharSequence name, NumberRange<?> samples, MathTransform1D toUnits, Unit<?> units) Constructs a quantitative category for all samples in the specified range of values.SampleDimension.Builder.mapQualitative(CharSequence name, NumberRange<?> samples, float converted) Adds a qualitative category for the given samples values mapped to the specified converted NaN value.Constructors in org.apache.sis.coverage with parameters of type NumberRangeModifierConstructorDescriptionprotectedCategory(CharSequence name, NumberRange<?> samples, MathTransform1D toUnits, Unit<?> units, DoubleToIntFunction toNaN) Constructs a qualitative or quantitative category. -
Uses of NumberRange in org.apache.sis.image
Methods in org.apache.sis.image that return NumberRangeModifier and TypeMethodDescriptionNumberRange<?>[]PixelIterator.getSampleRanges()Returns the range of sample values that can be stored in each band of the rendered image or raster.Methods in org.apache.sis.image with parameters of type NumberRangeModifier and TypeMethodDescriptionImageProcessor.convert(RenderedImage source, NumberRange<?>[] sourceRanges, MathTransform1D[] converters, DataType targetType, ColorModel colorModel) Returns an image with sample values converted by the given functions.static DataTypeDataType.forRange(NumberRange<?> range, boolean asInteger) Returns the smallest data type capable to store the given range of values.Method parameters in org.apache.sis.image with type arguments of type NumberRangeModifier and TypeMethodDescriptionImageProcessor.visualize(RenderedImage source, Map<NumberRange<?>, Color[]> colors) Returns an image where all sample values are indices of colors in anIndexColorModel. -
Uses of NumberRange in org.apache.sis.math
Methods in org.apache.sis.math that return NumberRangeModifier and TypeMethodDescriptionNumberRange<?>Vector.range()Returns the minimal and maximal values found in this vector. -
Uses of NumberRange in org.apache.sis.measure
Subclasses of NumberRange in org.apache.sis.measureModifier and TypeClassDescriptionclassMeasurementRange<E extends Number & Comparable<? super E>>A range of numbers associated with a unit of measurement.Methods in org.apache.sis.measure that return NumberRangeModifier and TypeMethodDescriptionstatic <N extends Number & Comparable<? super N>>
NumberRange<N>NumberRange.castOrCopy(Range<N> range) Returns the specifiedRangeas aNumberRangeobject.<N extends Number & Comparable<? super N>>
NumberRange<N>Casts this range to the specified type.static NumberRange<Byte>NumberRange.create(byte minValue, boolean isMinIncluded, byte maxValue, boolean isMaxIncluded) Constructs a range ofbytevalues.static NumberRange<Double>NumberRange.create(double minValue, boolean isMinIncluded, double maxValue, boolean isMaxIncluded) Constructs a range ofdoublevalues.static NumberRange<Float>NumberRange.create(float minValue, boolean isMinIncluded, float maxValue, boolean isMaxIncluded) Constructs a range offloatvalues.static NumberRange<Integer>NumberRange.create(int minValue, boolean isMinIncluded, int maxValue, boolean isMaxIncluded) Constructs a range ofintvalues.static NumberRange<Long>NumberRange.create(long minValue, boolean isMinIncluded, long maxValue, boolean isMaxIncluded) Constructs a range oflongvalues.static NumberRange<Short>NumberRange.create(short minValue, boolean isMinIncluded, short maxValue, boolean isMaxIncluded) Constructs a range ofshortvalues.static <N extends Number & Comparable<? super N>>
NumberRange<N>Constructs a range containing a single value of the given type.static NumberRange<?>NumberRange.createBestFit(boolean asFloat, Number minValue, boolean isMinIncluded, Number maxValue, boolean isMaxIncluded) Constructs a range using the smallest integer type or floating point type that can hold the given values.static NumberRange<?>NumberRange.createBestFit(Number minValue, boolean isMinIncluded, Number maxValue, boolean isMaxIncluded) Constructs a range using the smallest type ofNumberthat can hold the given values.static NumberRange<Integer>NumberRange.createLeftBounded(int minValue, boolean isMinIncluded) Constructs a range ofintvalues without upper bound.NumberRange<?>NumberRange.intersectAny(NumberRange<?> range) Returns the union of this range with the given range.NumberRange<?>[]NumberRange.subtractAny(NumberRange<?> range) Returns the range of values that are in this range but not in the given range.NumberRange<?>NumberRange.transform(MathTransform1D converter) Returns this range converted using the given converter.NumberRange<?>NumberRange.unionAny(NumberRange<?> range) Returns the union of this range with the given range.Methods in org.apache.sis.measure with parameters of type NumberRangeModifier and TypeMethodDescriptionbooleanNumberRange.containsAny(NumberRange<?> range) Returnstrueif the supplied range is fully contained within this range.NumberRange<?>NumberRange.intersectAny(NumberRange<?> range) Returns the union of this range with the given range.booleanNumberRange.intersectsAny(NumberRange<?> range) Returnstrueif the supplied range intersects this range.NumberRange<?>[]NumberRange.subtractAny(NumberRange<?> range) Returns the range of values that are in this range but not in the given range.NumberRange<?>NumberRange.unionAny(NumberRange<?> range) Returns the union of this range with the given range. -
Uses of NumberRange in org.apache.sis.referencing.operation.builder
Methods in org.apache.sis.referencing.operation.builder that return NumberRangeModifier and TypeMethodDescriptionLocalizationGridBuilder.resolveWraparoundAxis(int dimension, int direction, double period) Tries to remove discontinuities in coordinates values caused by anti-meridian crossing.