rotate_point#
- static MonostaticRCSPlotter.rotate_point(x1, y1, z1, rotation)[source]#
Rotate a set of 3D points by the specified azimuth, elevation, and twist angles.
- Parameters:
- x1
np.ndarray Array of x-coordinates of the points to be rotated.
- y1
np.ndarray Array of y-coordinates of the points to be rotated.
- z1
np.ndarray Array of z-coordinates of the points to be rotated.
- rotation
dict - Dictionary containing rotation angles in degrees with the following keys:
“azimuth”: Rotation angle around the z-axis.
“elevation”: Rotation angle around the y-axis.
“twist”: Rotation angle around the x-axis.
- x1
- Returns:
- x2
np.ndarray Array of rotated x-coordinates.
- y2
np.ndarray Array of rotated y-coordinates.
- z2
np.ndarray Array of rotated z-coordinates.
- x2
Notes
- The rotation is performed in the following order:
Azimuth (z-axis)
Elevation (y-axis)
Twist (x-axis)