Euclidean Transformations
EuclideanTransform
Class containing the Euclidian transforms which can be applied to a geometry.
transformations
property
All the Euclidian transformations which were applied to the geometry in chronological order.
| Returns: |
|
|---|
center
property
Center of mass of the geometry.
| Returns: |
|
|---|
scale
property
Scale factor of the geometry.
| Returns: |
|
|---|
rotation_matrix
property
Rotation matrix applied to the geometry.
| Returns: |
|
|---|
rotation_axis
property
Vector representing the axis of rotation.
| Returns: |
|
|---|
rotation_angle
property
Angle by which the geometry is rotated around the axis of rotation.
| Returns: |
|
|---|
set_location(center)
Set the position of the geometry in 3D space.
| Parameters: |
|
|---|
move(move_vector)
Move the geometry by a vector.
| Parameters: |
|
|---|
set_scale(scale)
Sets the scaling of the geometry.
| Parameters: |
|
|---|
rescale(scale)
Multiplies the existing scaling of the geometry by the scale factor.
| Parameters: |
|
|---|
get_rotation_matrix(angle, axis)
staticmethod
Get the rotation matrix from the rotation angle and axis of rotation.
| Parameters: |
|
|---|
| Returns: |
|
|---|
set_rotation(angle, axis)
Sets the rotation matrix from the rotation angle and axis.
| Parameters: |
|
|---|
rotate_rotvec(angle, axis)
Multiplies the previous existing rotation matrix by a rotation matrix calculated from the angle and axis of rotation.
| Parameters: |
|
|---|
rotate_matrix(rotation_matrix)
Multiplies the previous existing rotation matrix by a given rotation matrix.
| Parameters: |
|
|---|
rotate(*inputs)
Rotates the geometry by a rotation matrix or a rotation vector.
| Parameters: |
|
|---|
apply(function_, co_, params_)
Apply the transformations to the geometry (SDF).
| Parameters: |
|
|---|
| Returns: |
|
|---|
EuclideanTransformPoints
Class containing the Euclidian transforms which can be applied to a point cloud.
transformations
property
All the Euclidian transformations which were applied to the point cloud in chronological order.
| Returns: |
|
|---|
center
property
Center of mass of the point cloud.
| Returns: |
|
|---|
scale
property
Scale factors of the point cloud.
| Returns: |
|
|---|
rotation_matrix
property
Rotation matrix applied to the point cloud.
| Returns: |
|
|---|
rotation_axis
property
Vector representing the axis of rotation.
| Returns: |
|
|---|
rotation_angle
property
Angle by which the point cloud is rotated around the axis of rotation.
| Returns: |
|
|---|
set_location(center)
Set the position of the point cloud in 3D space.
| Parameters: |
|
|---|
move(move_vector)
Move the point cloud by a vector.
| Parameters: |
|
|---|
set_scale(scale)
Sets the scaling of the point cloud.
| Parameters: |
|
|---|
rescale(scale)
Multiplies the existing scaling of the point cloud by the scale factors.
| Parameters: |
|
|---|
get_rotation_matrix(angle, axis)
staticmethod
Get the rotation matrix from the rotation angle and axis of rotation.
| Parameters: |
|
|---|
| Returns: |
|
|---|
set_rotation(angle, axis)
Sets the rotation matrix from the rotation angle and axis.
| Parameters: |
|
|---|
rotate_rotvec(angle, axis)
Multiplies the previous existing rotation matrix by a rotation matrix calculated from the rotation angle and axis of rotation.
| Parameters: |
|
|---|
rotate_matrix(rotation_matrix)
Multiplies the previous existing rotation matrix by a given rotation matrix.
| Parameters: |
|
|---|
rotate(*inputs)
Rotates by a rotation matrix or a rotation vector.
| Parameters: |
|
|---|
apply(points_)
Apply the transformations to the point cloud.
| Parameters: |
|
|---|
| Returns: |
|
|---|