three.MF.V3.Descriptors.Transform

 1from typing import List
 2
 3
 4class Transform:
 5
 6    """
 7     V3 transform descriptor.
 8    """
 9    def __init__(self, rotation: List[float] = None, translation: List[float] = None):
10        """
11        Axis-angle rotation vector.
12        The direction of the vector is the rotation axis.
13        The magnitude of the vector is rotation angle in radians.
14        """
15        self.rotation = rotation
16        # Translation vector.
17        self.translation = translation
class Transform:
 5class Transform:
 6
 7    """
 8     V3 transform descriptor.
 9    """
10    def __init__(self, rotation: List[float] = None, translation: List[float] = None):
11        """
12        Axis-angle rotation vector.
13        The direction of the vector is the rotation axis.
14        The magnitude of the vector is rotation angle in radians.
15        """
16        self.rotation = rotation
17        # Translation vector.
18        self.translation = translation

V3 transform descriptor.

Transform(rotation: List[float] = None, translation: List[float] = None)
10    def __init__(self, rotation: List[float] = None, translation: List[float] = None):
11        """
12        Axis-angle rotation vector.
13        The direction of the vector is the rotation axis.
14        The magnitude of the vector is rotation angle in radians.
15        """
16        self.rotation = rotation
17        # Translation vector.
18        self.translation = translation

Axis-angle rotation vector. The direction of the vector is the rotation axis. The magnitude of the vector is rotation angle in radians.

rotation
translation