org.apache.sis.referencing.operation.builder

## Class TransformBuilder

- Object
- - TransformBuilder

- Direct Known Subclasses:
    LinearTransformBuilder, LocalizationGridBuilder

      public abstract class TransformBuilder
      extends Object

  Creates a transform which will map approximatively the given source positions to the given target positions. The transform may be a linear approximation the minimize the errors in a least square sense, or a more accurate transform using a localization grid.
  Since:
    0.8

  Defined in the `sis-referencing` module

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `TransformBuilder()` For subclass constructors.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract MathTransform` | `create(MathTransformFactory factory)` Creates a transform from the source points to the target points.

    - ### Methods inherited from class Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TransformBuilder

          protected TransformBuilder()

      For subclass constructors.

  - ### Method Detail

    - #### create

          public abstract MathTransform create(MathTransformFactory factory)
                                        throws FactoryException

      Creates a transform from the source points to the target points.
      Parameters:
        `factory` - the factory to use for creating the transform, or `null` for the default factory.
      Returns:
        the transform from source to target points.
      Throws:
        `FactoryException` - if the transform can not be created, for example because the target points have not be specified.

Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.