com.io7m.jtensors

## Interface VectorWritable2FType

- All Known Subinterfaces:
    QuaternionWritable4FType, VectorWritable3FType, VectorWritable4FType
  All Known Implementing Classes:
    QuaternionM4F, VectorM2F, VectorM3F, VectorM4F

      public interface VectorWritable2FType

  'Write' interface to two-dimensional vectors with single precision elements.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `copyFrom2F(VectorReadable2FType in_v)` Set the current vector to the contents of the input vector.
    `void` | `set2F(float x, float y)` Set the current `x` and `y` values of the current vector.
    `void` | `setXF(float x)` Set the current `x` value of the current vector.
    `void` | `setYF(float y)` Set the current `y` value of the current vector.

- - ### Method Detail

    - #### copyFrom2F

          void copyFrom2F(VectorReadable2FType in_v)

      Set the current vector to the contents of the input vector.
      Parameters:
        `in_v` - The input vector

    - #### set2F

          void set2F(float x,
                   float y)

      Set the current `x` and `y` values of the current vector.
      Parameters:
        `x` - The new `x` value.
        `y` - The new `y` value.

    - #### setXF

          void setXF(float x)

      Set the current `x` value of the current vector.
      Parameters:
        `x` - The new `x` value.

    - #### setYF

          void setYF(float y)

      Set the current `y` value of the current vector.
      Parameters:
        `y` - The new `y` value.

Copyright © 2014 <code@io7m.com> http://io7m.com