parq_blockmodel.utils.geometry_utils.rotate_points

parq_blockmodel.utils.geometry_utils.rotate_points(points, azimuth=0, dip=0, plunge=0)[source]

Rotate points in 3D space based on azimuth, dip, and plunge angles.

Parameters:
  • points (np.ndarray) – Array of shape (n, 3) representing the points to be rotated.

  • azimuth (float) – Azimuth angle in degrees.

  • dip (float) – Dip angle in degrees.

  • plunge (float) – Plunge angle in degrees.

Returns:

Rotated points.

Return type:

np.ndarray