# Uses of Interface
org.apache.sis.referencing.operation.transform.LinearTransform

Packages that use LinearTransform
Package
Description
org.apache.sis.coverage.grid
A coverage backed by a regular grid.
org.apache.sis.gui.map
Widgets for showing a map in a JavaFX application.
org.apache.sis.portrayal
Symbology and map representations, together with a rendering engine for display.
org.apache.sis.referencing.datum
Relationship of a `CoordinateSystem` (an abstract mathematical entity) to the earth or other system.
org.apache.sis.referencing.operation.builder
Helper classes for creating Math Transforms from a set of points.
org.apache.sis.referencing.operation.matrix
Matrix implementations for spatiotemporal referencing.
org.apache.sis.referencing.operation.transform
Conversions or transformations of multi-dimensional coordinate tuples.

- ## Uses of LinearTransform in org.apache.sis.coverage.grid

  Methods in org.apache.sis.coverage.grid that return LinearTransform
  Modifier and Type
  Method
  Description
  `LinearTransform`
  GridDerivation.`getGridTransform(PixelInCell anchor)`
  Returns the transform from derived grid coordinates to base grid coordinates.
  `LinearTransform`
  GridGeometry.`getLinearGridToCRS(PixelInCell anchor)`
  Returns a linear approximation of the conversion from grid coordinates to "real world" coordinates.

- ## Uses of LinearTransform in org.apache.sis.gui.map

  Methods in org.apache.sis.gui.map with parameters of type LinearTransform
  Modifier and Type
  Method
  Description
  `void`
  MapCanvas.`setObjectiveToDisplay(LinearTransform newValue)`
  Sets the conversion from objective CRS to display coordinate system.

- ## Uses of LinearTransform in org.apache.sis.portrayal

  Methods in org.apache.sis.portrayal that return LinearTransform
  Modifier and Type
  Method
  Description
  `LinearTransform`
  TransformChangeEvent.`getDisplayChange()`
  Returns the change from old display coordinates to new display coordinates.
  `LinearTransform`
  TransformChangeEvent.`getNewValue()`
  Gets the new "objective to display" transform.
  `LinearTransform`
  TransformChangeEvent.`getObjectiveChange()`
  Returns the change from old objective coordinates to new objective coordinates.
  `LinearTransform`
  Canvas.`getObjectiveToDisplay()`
  Returns the (usually affine) conversion from objective CRS to display coordinate system.
  `LinearTransform`
  TransformChangeEvent.`getOldValue()`
  Gets the old "objective to display" transform.
  Methods in org.apache.sis.portrayal with parameters of type LinearTransform
  Modifier and Type
  Method
  Description
  `void`
  Canvas.`setObjectiveToDisplay(LinearTransform newValue)`
  Sets the conversion from objective CRS to display coordinate system.
  Constructors in org.apache.sis.portrayal with parameters of type LinearTransform
  Modifier
  Constructor
  Description
  ``
  `TransformChangeEvent(Canvas source, LinearTransform oldValue, LinearTransform newValue, AffineTransform objective, AffineTransform display, TransformChangeEvent.Reason reason)`
  Creates a new event for an incremental change of the "objective to display" property.
  ``
  `TransformChangeEvent(Canvas source, LinearTransform oldValue, LinearTransform newValue, TransformChangeEvent.Reason reason)`
  Creates a new event for a change of the "objective to display" property.

- ## Uses of LinearTransform in org.apache.sis.referencing.datum

  Methods in org.apache.sis.referencing.datum that return LinearTransform
  Modifier and Type
  Method
  Description
  `LinearTransform`
  DatumShiftGrid.`getCoordinateToGrid()`
  Returns the conversion from the source coordinates (in "real world" units) to grid indices.
  Constructors in org.apache.sis.referencing.datum with parameters of type LinearTransform
  Modifier
  Constructor
  Description
  `protected`
  `DatumShiftGrid(Unit<C> coordinateUnit, LinearTransform coordinateToGrid, int[] gridSize, boolean isCellValueRatio, Unit<T> translationUnit)`
  Creates a new datum shift grid for the given size and units.

- ## Uses of LinearTransform in org.apache.sis.referencing.operation.builder

  Methods in org.apache.sis.referencing.operation.builder that return LinearTransform
  Modifier and Type
  Method
  Description
  `static LinearTransform`
  LinearTransformBuilder.`approximate(MathTransform gridToCRS, Envelope domain)`
  Returns a linear approximation of the given transform for the specified domain.
  `LinearTransform`
  LinearTransformBuilder.`create(MathTransformFactory factory)`
  Creates a linear transform approximation from the source positions to the target positions.
  `LinearTransform`
  LocalizationGridBuilder.`getSourceToGrid()`
  Returns the current relationship between "real-world" source coordinates and grid coordinates.
  Methods in org.apache.sis.referencing.operation.builder with parameters of type LinearTransform
  Modifier and Type
  Method
  Description
  `void`
  LocalizationGridBuilder.`setSourceToGrid(LinearTransform sourceToGrid)`
  Defines relationship between "real-world" source coordinates and grid coordinates.

- ## Uses of LinearTransform in org.apache.sis.referencing.operation.matrix

  Methods in org.apache.sis.referencing.operation.matrix that return LinearTransform
  Modifier and Type
  Method
  Description
  `static LinearTransform`
  AffineTransforms2D.`toMathTransform(AffineTransform transform)`
  Creates a math transform from the given affine transform.

- ## Uses of LinearTransform in org.apache.sis.referencing.operation.transform

  Methods in org.apache.sis.referencing.operation.transform that return LinearTransform
  Modifier and Type
  Method
  Description
  `static LinearTransform`
  MathTransforms.`identity(int dimension)`
  Returns an identity transform of the specified dimension.
  `LinearTransform`
  LinearTransform.`inverse()`
  Returns the inverse transform of this object, which shall also be linear.
  `static LinearTransform`
  MathTransforms.`linear(double scale, double offset)`
  Creates a one-dimensional affine transform for the given coefficients.
  `static LinearTransform`
  MathTransforms.`linear(Matrix matrix)`
  Creates an arbitrary linear transform from the specified matrix.
  `static LinearTransform`
  MathTransforms.`scale(double... factors)`
  Creates an affine transform which applies the given scale.
  `static LinearTransform`
  MathTransforms.`tangent(MathTransform toApproximate, DirectPosition tangentPoint)`
  Returns a linear (usually affine) transform which approximates the given transform in the vicinity of the given position.
  `static LinearTransform`
  MathTransforms.`translation(double... vector)`
  Creates an affine transform which applies the given translation.
  `static LinearTransform`
  MathTransforms.`uniformTranslation(int dimension, double offset)`
  Creates an affine transform which applies the same translation for all dimensions.