Uses of Class
org.opengis.geometry.MismatchedDimensionException
Packages that use MismatchedDimensionException
Package
Description
Basic geometric objects (envelopes and direct positions).
Coordinate Reference System (CRS) definitions as coordinate systems related to the earth through datum.
Helper classes for creating Math Transforms from a set of points.
Matrix implementations for spatiotemporal referencing.
Conversions or transformations of multi-dimensional coordinate tuples.
Simple data objects and miscellaneous utilities.
Coordinate operations (relationship between
any two coordinate reference systems).
-
Uses of MismatchedDimensionException in org.apache.sis.geometry
Methods in org.apache.sis.geometry that throw MismatchedDimensionExceptionModifier and TypeMethodDescriptionvoidGeneralEnvelope.add(DirectPosition position) Adds a point to this envelope.voidAdds an envelope object to this envelope.booleanAbstractEnvelope.contains(DirectPosition position) Tests if a specified coordinate is inside the boundary of this envelope.booleanReturnstrueif this envelope completely encloses the specified envelope.booleanReturnstrueif this envelope completely encloses the specified envelope.voidSets this envelope to the intersection of this envelope with the specified one.booleanAbstractEnvelope.intersects(Envelope envelope) Returnstrueif this envelope intersects the specified envelope.booleanAbstractEnvelope.intersects(Envelope envelope, boolean touch) Returnstrueif this envelope intersects or (optionally) touches the specified envelope.voidGeneralDirectPosition.setCoordinateReferenceSystem(CoordinateReferenceSystem crs) Sets the coordinate reference system in which the coordinates are given.voidGeneralEnvelope.setCoordinateReferenceSystem(CoordinateReferenceSystem crs) Sets the coordinate reference system in which the coordinate are given.voidGeneralDirectPosition.setCoordinates(double... coordinates) Sets the coordinate values in all dimensions.voidGeneralEnvelope.setEnvelope(Envelope envelope) Sets this envelope to the same coordinate values as the specified envelope.voidAbstractDirectPosition.setLocation(DirectPosition position) Sets this direct position to the given position.voidDirectPosition1D.setLocation(DirectPosition position) Sets this coordinate to the specified direct position.voidGeneralDirectPosition.setLocation(DirectPosition position) Sets this coordinate to the specified direct position.Constructors in org.apache.sis.geometry that throw MismatchedDimensionExceptionModifierConstructorDescriptionDirectPosition2D(DirectPosition position) Constructs a position initialized to the same values as the specified point.Envelope2D(DirectPosition lowerCorner, DirectPosition upperCorner) Constructs a two-dimensional envelope defined by the specified coordinates.Envelope2D(Envelope envelope) Constructs a two-dimensional envelope defined by anotherEnvelope.Envelope2D(CoordinateReferenceSystem crs, double x, double y, double width, double height) Constructs two-dimensional envelope defined by the specified coordinates.Envelope2D(CoordinateReferenceSystem crs, Rectangle2D rect) Constructs two-dimensional envelope defined by anotherRectangle2D.GeneralEnvelope(double[] lowerCorner, double[] upperCorner) Constructs an envelope defined by two corners given as sequences of coordinate values.GeneralEnvelope(DirectPosition lowerCorner, DirectPosition upperCorner) Constructs an envelope defined by two corners given as direct positions.ImmutableDirectPosition(CoordinateReferenceSystem crs, double... coordinates) Constructs a position defined by a sequence of coordinate values.ImmutableEnvelope(double[] lowerCorner, double[] upperCorner, CoordinateReferenceSystem crs) Constructs an envelope defined by two corners given as sequences of coordinate values.ImmutableEnvelope(DirectPosition lowerCorner, DirectPosition upperCorner) Constructs an envelope defined by two corners given as direct positions.Constructs a new envelope initialized to the values parsed from the given string inBOXor Well Known Text (WKT) format.ImmutableEnvelope(CoordinateReferenceSystem crs, Envelope envelope) Creates an immutable envelope with the coordinate values of the given envelope but a different CRS. -
Uses of MismatchedDimensionException in org.apache.sis.referencing.crs
Methods in org.apache.sis.referencing.crs that throw MismatchedDimensionExceptionModifier and TypeMethodDescriptionstatic DefaultDerivedCRSDefaultDerivedCRS.create(Map<String, ?> properties, SingleCRS baseCRS, Conversion baseToDerived, CoordinateSystem derivedCS) Creates a derived CRS from a defining conversion and a type inferred from the given arguments.Constructors in org.apache.sis.referencing.crs that throw MismatchedDimensionExceptionModifierConstructorDescriptionprotectedDefaultDerivedCRS(Map<String, ?> properties, SingleCRS baseCRS, Conversion conversion, CoordinateSystem derivedCS) Creates a derived CRS from a defining conversion.DefaultProjectedCRS(Map<String, ?> properties, GeographicCRS baseCRS, Conversion baseToDerived, CartesianCS derivedCS) Creates a projected CRS from a defining conversion. -
Uses of MismatchedDimensionException in org.apache.sis.referencing.operation.builder
Methods in org.apache.sis.referencing.operation.builder that throw MismatchedDimensionExceptionModifier and TypeMethodDescriptionvoidLinearTransformBuilder.setControlPoints(Map<? extends Position, ? extends Position> sourceToTarget) Sets all control point (source, target) pairs, overwriting any previous setting. -
Uses of MismatchedDimensionException in org.apache.sis.referencing.operation.matrix
Subclasses of MismatchedDimensionException in org.apache.sis.referencing.operation.matrixModifier and TypeClassDescriptionclassThrown when two matrices cannot be added or multiplied because the sizes do not match. -
Uses of MismatchedDimensionException in org.apache.sis.referencing.operation.transform
Methods in org.apache.sis.referencing.operation.transform that throw MismatchedDimensionExceptionModifier and TypeMethodDescriptionstatic MathTransform1DMathTransforms.concatenate(MathTransform1D tr1, MathTransform1D tr2) Concatenates the given one-dimensional transforms.static MathTransform1DMathTransforms.concatenate(MathTransform1D tr1, MathTransform1D tr2, MathTransform1D tr3) Concatenates the three given one-dimensional transforms.static MathTransform2DMathTransforms.concatenate(MathTransform2D tr1, MathTransform2D tr2) Concatenates the given two-dimensional transforms.static MathTransform2DMathTransforms.concatenate(MathTransform2D tr1, MathTransform2D tr2, MathTransform2D tr3) Concatenates the three given two-dimensional transforms.static MathTransformMathTransforms.concatenate(MathTransform tr1, MathTransform tr2) Concatenates the two given transforms.static MathTransformMathTransforms.concatenate(MathTransform tr1, MathTransform tr2, MathTransform tr3) Concatenates the three given transforms. -
Uses of MismatchedDimensionException in org.apache.sis.util
Methods in org.apache.sis.util that throw MismatchedDimensionExceptionModifier and TypeMethodDescriptionstatic voidArgumentChecks.ensureDimensionMatches(String name, int expected, double[] vector) Ensures that the given vector, if non-null, has the expected number of dimensions (taken as its length).static voidArgumentChecks.ensureDimensionMatches(String name, int expected, int[] indices) Ensures that the given array of indices, if non-null, has the expected number of dimensions (taken as its length).static voidArgumentChecks.ensureDimensionMatches(String name, int expected, DirectPosition position) Ensures that the given direct position, if non-null, has the expected number of dimensions.static voidArgumentChecks.ensureDimensionMatches(String name, int expected, Envelope envelope) Ensures that the given envelope, if non-null, has the expected number of dimensions.static voidArgumentChecks.ensureDimensionMatches(String name, int expected, CoordinateReferenceSystem crs) Ensures that the given CRS, if non-null, has the expected number of dimensions.static voidArgumentChecks.ensureDimensionMatches(String name, int expected, CoordinateSystem cs) Ensures that the given coordinate system, if non-null, has the expected number of dimensions.static voidArgumentChecks.ensureDimensionsMatch(String name, int expectedSource, int expectedTarget, MathTransform transform) Ensures that the given transform, if non-null, has the expected number of source and target dimensions. -
Uses of MismatchedDimensionException in org.opengis.referencing.operation
Methods in org.opengis.referencing.operation that throw MismatchedDimensionExceptionModifier and TypeMethodDescriptionMathTransform.derivative(DirectPosition point) Gets the derivative of this transform at a point.MathTransform.transform(DirectPosition ptSrc, DirectPosition ptDst) Transforms the specifiedptSrcand stores the result inptDst.