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 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
-