Package georegression.struct.point
Class Vector4D_F64
- All Implemented Interfaces:
Serializable
Vector in 4D space
- See Also:
-
Field Summary
Fields inherited from class georegression.struct.GeoTuple4D_F64
w, x, y, z
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new tuple instance of the same type.double
dot
(Vector4D_F64 a) void
setTo
(Vector4D_F64 src) Sets this equal to 'src'times
(double scalar) toString()
Methods inherited from class georegression.struct.GeoTuple4D_F64
_setTo, distance, distance, distance2, distance2, divideIP, equals, getDimension, getIdx, hashCode, isIdentical, isIdentical, isIdentical, isNaN, maxAbs, norm, normSq, plusIP, print, scale, setIdx, setTo, setTo, timesIP, toString, zero
Methods inherited from class georegression.struct.GeoTuple_F64
copy, isInfinite
-
Constructor Details
-
Vector4D_F64
public Vector4D_F64(double x, double y, double z, double w) -
Vector4D_F64
public Vector4D_F64() -
Vector4D_F64
-
-
Method Details
-
setTo
Description copied from class:GeoTuple
Sets this equal to 'src'- Overrides:
setTo
in classGeoTuple4D_F64<Vector4D_F64>
- Parameters:
src
- The tuple being copied- Returns:
- Reference to 'this' class instance. Used to chain operations.
-
times
- Overrides:
times
in classGeoTuple4D_F64<Vector4D_F64>
-
createNewInstance
Description copied from class:GeoTuple
Creates a new tuple instance of the same type.
- Specified by:
createNewInstance
in classGeoTuple<Vector4D_F64>
- Returns:
- new tuple instance.
-
toString
-
normalize
public void normalize()- Overrides:
normalize
in classGeoTuple4D_F64<Vector4D_F64>
-
dot
-