java.lang.Object
swim.math.R2
- All Implemented Interfaces:
Debug
,AffineSpace<R2Point,
,R2Vector, Double> F2<R2Vector,
,Double> TensorSpace<R2Vector,
,Double> VectorModule<R2Vector,
,Double> VectorSpace<R2Vector,
Double>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal R2Vector
final R2Vector
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.final R2Vector
difference
(R2Point p, R2Point q) final Double
final Double
final R2Vector
final R2Vector
final R2Vector
final R2Point
origin()
final R
scalar()
static R2
space()
final R2Vector
toString()
final R2Point
final R2
vector()
final R2Vector
zero()
-
Constructor Details
-
R2
protected R2()
-
-
Method Details
-
vector
- Specified by:
vector
in interfaceAffineSpace<R2Point,
R2Vector, Double>
-
scalar
- Specified by:
scalar
in interfaceAffineSpace<R2Point,
R2Vector, Double> - Specified by:
scalar
in interfaceTensorSpace<R2Vector,
Double> - Specified by:
scalar
in interfaceVectorModule<R2Vector,
Double> - Specified by:
scalar
in interfaceVectorSpace<R2Vector,
Double>
-
dimensions
- Specified by:
dimensions
in interfaceTensorSpace<R2Vector,
Double>
-
origin
- Specified by:
origin
in interfaceAffineSpace<R2Point,
R2Vector, Double>
-
zero
- Specified by:
zero
in interfaceTensorSpace<R2Vector,
Double> - Specified by:
zero
in interfaceVectorModule<R2Vector,
Double> - Specified by:
zero
in interfaceVectorSpace<R2Vector,
Double>
-
of
-
getX
-
getY
-
add
- Specified by:
add
in interfaceTensorSpace<R2Vector,
Double> - Specified by:
add
in interfaceVectorModule<R2Vector,
Double> - Specified by:
add
in interfaceVectorSpace<R2Vector,
Double>
-
opposite
- Specified by:
opposite
in interfaceTensorSpace<R2Vector,
Double> - Specified by:
opposite
in interfaceVectorModule<R2Vector,
Double> - Specified by:
opposite
in interfaceVectorSpace<R2Vector,
Double>
-
subtract
- Specified by:
subtract
in interfaceTensorSpace<R2Vector,
Double> - Specified by:
subtract
in interfaceVectorModule<R2Vector,
Double> - Specified by:
subtract
in interfaceVectorSpace<R2Vector,
Double>
-
multiply
- Specified by:
multiply
in interfaceTensorSpace<R2Vector,
Double> - Specified by:
multiply
in interfaceVectorModule<R2Vector,
Double> - Specified by:
multiply
in interfaceVectorSpace<R2Vector,
Double>
-
combine
- Specified by:
combine
in interfaceTensorSpace<R2Vector,
Double> - Specified by:
combine
in interfaceVectorModule<R2Vector,
Double> - Specified by:
combine
in interfaceVectorSpace<R2Vector,
Double>
-
translate
- Specified by:
translate
in interfaceAffineSpace<R2Point,
R2Vector, Double>
-
difference
- Specified by:
difference
in interfaceAffineSpace<R2Point,
R2Vector, Double>
-
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
space
-