-
- All Implemented Interfaces:
public final class Vector2D
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVector2D.Companion
-
Method Summary
Modifier and Type Method Description final DoublegetX()final DoublegetY()final Vector2Dadd(Vector2D other)final Vector2Dnormalize()final Vector2Drotate(Integer fromDirection, Integer toDirection)final Vector2Dscale(Double amountX, Double amountY)final Vector2Dscale(Vector2D vector)final Vector2DtrimMax(Double xMax, Double yMax)final Vector2DtrimMin(Double xMin, Double yMin)final Vector2DwithX(Double value)final Vector2DwithY(Double value)
-