resqpy.olio.vector_utilities.tilt_3d_matrix(azimuth, dip)[source]

Returns a 3D rotation matrix for applying a dip in a certain azimuth.


if azimuth is compass bearing in degrees, and dip is in degrees, the resulting matrix can be used to rotate xyz points where x values are eastings, y values are northings and z increases downwards