Package georegression.struct.so
Class So3_F64
java.lang.Object
georegression.struct.so.So3_F64
- All Implemented Interfaces:
InvertibleTransform<So3_F64>
,Serializable
Special Orthogonal, i.e. rotation in 3D.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionComputes a transform which is the equivalent to applying 'this' then the 'second' transform.Creates a new instance of the same SpecialEuclidean as this class.int
Returns the dimension of the space which this transform operates on.Computes a transform which is the inverse of this transform.void
reset()
Sets the transform to its initial state of no transform.Assigns 'this' to the value of target.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface georegression.struct.InvertibleTransform
concatInvert, invertConcat
-
Field Details
-
R
public final org.ejml.data.DMatrixRMaj R
-
-
Constructor Details
-
So3_F64
public So3_F64() -
So3_F64
public So3_F64(org.ejml.data.DMatrixRMaj R)
-
-
Method Details
-
getDimension
public int getDimension()Description copied from interface:InvertibleTransform
Returns the dimension of the space which this transform operates on.- Specified by:
getDimension
in interfaceInvertibleTransform<So3_F64>
- Returns:
- space's dimension
-
createInstance
Description copied from interface:InvertibleTransform
Creates a new instance of the same SpecialEuclidean as this class.- Specified by:
createInstance
in interfaceInvertibleTransform<So3_F64>
- Returns:
- A new instance.
-
setTo
Description copied from interface:InvertibleTransform
Assigns 'this' to the value of target.- Specified by:
setTo
in interfaceInvertibleTransform<So3_F64>
- Parameters:
target
- The new value of 'this'.- Returns:
- A reference to 'this' to enable chaining
-
concat
Description copied from interface:InvertibleTransform
Computes a transform which is the equivalent to applying 'this' then the 'second' transform.
For example:
Point A = tran2( tran1( A ) );
Point A = tran12( A );
where tran12 = tran1.concat( tran2 , null );NOTE: 'second', 'result', and 'this' must all be unique instances.
- Specified by:
concat
in interfaceInvertibleTransform<So3_F64>
- Parameters:
second
- The second transform which is applied. Not modified.result
- A transform which is equivalent to applying the first then the second. If null then a new instance is declared. Modified.- Returns:
- The equivalent transform.
-
invert
Description copied from interface:InvertibleTransform
Computes a transform which is the inverse of this transform. The 'this' matrix can be passed in as an input.
Example:
Point A = tran(B);
Point B = inv(A);
where inv = invert( tran );- Specified by:
invert
in interfaceInvertibleTransform<So3_F64>
- Parameters:
inverse
- Where the inverse will be stored. If null a new instance is created. Modified.- Returns:
- The inverse transform.
-
reset
public void reset()Description copied from interface:InvertibleTransform
Sets the transform to its initial state of no transform.- Specified by:
reset
in interfaceInvertibleTransform<So3_F64>
-