Package georegression.struct.point
Class Vector4D_F32
- All Implemented Interfaces:
Serializable
@Generated("georegression.struct.point.Vector4D_F64")
public class Vector4D_F32
extends GeoTuple4D_F32<Vector4D_F32>
Vector in 4D space
- See Also:
-
Field Summary
Fields inherited from class georegression.struct.GeoTuple4D_F32
w, x, y, z
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new tuple instance of the same type.float
dot
(Vector4D_F32 a) void
setTo
(Vector4D_F32 src) Sets this equal to 'src'times
(float scalar) toString()
Methods inherited from class georegression.struct.GeoTuple4D_F32
_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_F32
copy, isInfinite
-
Constructor Details
-
Vector4D_F32
public Vector4D_F32(float x, float y, float z, float w) -
Vector4D_F32
public Vector4D_F32() -
Vector4D_F32
-
-
Method Details
-
setTo
Description copied from class:GeoTuple
Sets this equal to 'src'- Overrides:
setTo
in classGeoTuple4D_F32<Vector4D_F32>
- Parameters:
src
- The tuple being copied- Returns:
- Reference to 'this' class instance. Used to chain operations.
-
times
- Overrides:
times
in classGeoTuple4D_F32<Vector4D_F32>
-
createNewInstance
Description copied from class:GeoTuple
Creates a new tuple instance of the same type.
- Specified by:
createNewInstance
in classGeoTuple<Vector4D_F32>
- Returns:
- new tuple instance.
-
toString
-
normalize
public void normalize()- Overrides:
normalize
in classGeoTuple4D_F32<Vector4D_F32>
-
dot
-