public abstract class Vector<M extends AbstractMeasure<U,M>,U extends Unit<M,U>,V extends Vector<M,U,V>> extends Object implements Dimension<V>
| Modifier | Constructor and Description |
|---|---|
protected |
Vector(M magnitude,
Angle angle) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(V o) |
V |
copy(U lu,
AngleUnit au) |
Rational |
div(V v) |
manifold.ext.rt.api.ComparableUsing.EqualityMode |
equalityMode() |
boolean |
equals(Object o) |
V |
fromBaseNumber(Rational p0) |
V |
fromNumber(Rational p0) |
Angle |
getAngle() |
M |
getMagnitude() |
M |
getX() |
M |
getY() |
int |
hashCode() |
abstract V |
make(M magnitude,
Angle angle) |
V |
minus(V v) |
V |
plus(V v) |
Rational |
times(V v) |
V |
to(U lu,
AngleUnit au) |
Rational |
toBaseNumber() |
Rational |
toNumber() |
String |
toString() |
V |
unaryMinus() |
public M getMagnitude()
public Angle getAngle()
public M getX()
public M getY()
public V unaryMinus()
public Rational toNumber()
public Rational toBaseNumber()
public int compareTo(V o)
Copyright © 2024. All rights reserved.