View source on GitHub |
Converts a 3D point to its dual quaternion representation.
tfg.geometry.transformation.dual_quaternion.point_to_dual_quaternion(
point: type_alias.TensorLike,
name: str = 'dual_quaternion_conjugate'
) -> tf.Tensor
Args | |
---|---|
point
|
A TensorLike of shape [A1, ..., An, 3] , where the last
dimension represents a point.
|
name
|
A name for this op that defaults to "point_to_dual_quaternion". |
Returns | |
---|---|
The dual quaternion representation of point .
|