o

org.locationtech.jts.geom.util

AffineTransformationFactory

object AffineTransformationFactory

Supports creating {link AffineTransformation}s defined by various kinds of inputs and transformation mapping rules.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AffineTransformationFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def createFromBaseLines(src0: Coordinate, src1: Coordinate, dest0: Coordinate, dest1: Coordinate): AffineTransformation

    Creates an AffineTransformation defined by a mapping between two baselines.

    Creates an AffineTransformation defined by a mapping between two baselines. The computed transformation consists of:

    • a translation from the start point of the source baseline to the start point of the destination baseline,
    • a rotation through the angle between the baselines about the destination start point,
    • and a scaling equal to the ratio of the baseline lengths.

    If the source baseline has zero length, an identity transformation is returned.

    src0

    the start point of the source baseline

    src1

    the end point of the source baseline

    dest0

    the start point of the destination baseline

    dest1

    the end point of the destination baseline return the computed transformation

  7. def createFromControlVectors(src: Array[Coordinate], dest: Array[Coordinate]): AffineTransformation

    Creates an AffineTransformation defined by a set of control vectors.

    Creates an AffineTransformation defined by a set of control vectors. Between one and three vectors must be supplied.

    src

    the source points of the vectors

    dest

    the destination points of the vectors return the computed transformation throws IllegalArgumentException if the control vector arrays are too short, long or of different lengths

  8. def createFromControlVectors(src0: Coordinate, dest0: Coordinate): AffineTransformation

    Creates an AffineTransformation defined by a single control vector.

    Creates an AffineTransformation defined by a single control vector. A control vector consists of a source point and a destination point, which is the image of the source point under the desired transformation. This produces a translation.

    src0

    the start point of the control vector

    dest0

    the end point of the control vector return the computed transformation

  9. def createFromControlVectors(src0: Coordinate, src1: Coordinate, dest0: Coordinate, dest1: Coordinate): AffineTransformation

    Creates an AffineTransformation defined by a pair of control vectors.

    Creates an AffineTransformation defined by a pair of control vectors. A control vector consists of a source point and a destination point, which is the image of the source point under the desired transformation. The computed transformation is a combination of one or more of a uniform scale, a rotation, and a translation (i.e. there is no shear component and no reflection)

    dest1

    return the computed transformation, or null if the control vectors do not determine a well-defined transformation

  10. def createFromControlVectors(src0: Coordinate, src1: Coordinate, src2: Coordinate, dest0: Coordinate, dest1: Coordinate, dest2: Coordinate): AffineTransformation

    Creates a transformation from a set of three control vectors.

    Creates a transformation from a set of three control vectors. A control vector consists of a source point and a destination point, which is the image of the source point under the desired transformation. Three control vectors allows defining a fully general affine transformation.

    dest2

    return the computed transformation

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped