MMpy.OrientationAxes.apply_rotation

Syntax

orientation_axis.apply_rotation(azimuth, plunge, rotation)

Description

Apply a rotation axis orientation mode.

Parameters

Name
Type
Description

azimuth

float Azimuth value in degrees (between -360 and 360).

plunge 

float Plunge value in degrees (between -90 and 90).
rotation float 2nd axis rotation in degrees (between -90 and 90).

Returns

Type
Description
bool Returns True if successful, False otherwise.

See Also

MMpy.OrientationAxes.apply_geostats

MMpy.OrientationAxes.apply_geopitch

MMpy.OrientationAxes.apply_geoplunge

Notes

You can access the results using the following properties: axis1, axis2, axis3, plane_parameters and sense.

Examples

axes = MMpy.OrientationAxes()
axes.apply_rotation(344, 5, 12)
print(axes.axis1)
print(axes.axis2)
print(axes.axis3)
print(axes.plane_parameters)
print(axes.sense)

Resource ID

IDPH_ORIENTATIONAXES_APPLY_ROTATION