pyOptiShared.Designs.rotate_curve
- pyOptiShared.Designs.rotate_curve(x, y, angle_degrees, center=(0, 0))
Rotate a curve defined by x and y arrays by a given angle around a center point.
- Parameters:
- Returns:
Rotated x and y coordinates (numpy arrays)
- Return type:
x_rot, y_rot