Interface PVector2DType<T>

Type Parameters:
T - A phantom type parameter
All Superinterfaces:
PVectorReadable2DType<T>, VectorComputationalType, VectorReadable2DType
All Known Implementing Classes:
PVector2D

@Immutable
public interface PVector2DType<T>
extends PVectorReadable2DType<T>, 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