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

Packages that use LinearTransform
Package
Description
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 points.

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

  Methods in org.apache.sis.portrayal that return LinearTransform
  Modifier and Type
  Method
  Description
  `LinearTransform`
  Canvas.`getObjectiveToDisplay()`
  Returns the (usually affine) conversion from objective CRS to display coordinate system.
  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.

- ## 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(MathTransform transform, DirectPosition position)`
  Returns a linear (usually affine) transform which approximates the given transform in the vicinity of the given position.
  `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)`
  Computes a linear approximation of the given math transform at 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.