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 Details
-
x
@Parameter(order=0) double x()- Specified by:
x
in interfaceVectorReadable2DType
- Returns:
- The
x
component
-
y
@Parameter(order=1) double y()- Specified by:
y
in interfaceVectorReadable2DType
- Returns:
- The
y
component
-