Interface Vector2DType

All Superinterfaces:
VectorComputationalType, VectorReadable2DType
All Known Implementing Classes:
Vector2D

@Immutable public interface Vector2DType extends VectorReadable2DType, VectorComputationalType
The type of 2D double-typed vectors.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    x()
     
    double
    y()
     
  • Method Details

    • x

      @Parameter(order=0) double x()
      Specified by:
      x in interface VectorReadable2DType
      Returns:
      The x component
    • y

      @Parameter(order=1) double y()
      Specified by:
      y in interface VectorReadable2DType
      Returns:
      The y component