MMpy.OrientationAxes.apply_geopitch
Syntax
orientation_axis.apply_geopitch(strike, dip, pitch, sense)
Description
Apply a geological pitch axis orientation mode.
Parameters
Name |
Type |
Description |
---|---|---|
strike |
float | Strike of the plane in degrees (between 0 and 360). |
dip |
float | Dip of the plane in degrees (between 0 and 90). |
pitch | float | Pitch of the plane in degrees (between 0 and 90). |
sense | MMpy.Sense | Sense of the plane. |
Returns
Type |
Description |
---|---|
bool | Returns True if successful, False otherwise. |
See Also
MMpy.Sense
MMpy.OrientationAxes.apply_rotation
MMpy.OrientationAxes.apply_geoplunge
MMpy.OrientationAxes.apply_geostats
Notes
Use the properties axis1, axis2, axis3, plane_parameters and sense to get the calculated results.
Valid choices for sense are:
- MMpy.Sense.north
- MMpy.Sense.east
- MMpy.Sense.west
- MMpy.Sense.south
Examples
axes = MMpy.OrientationAxes() axes.apply_geopitch(164, 12, 0, MMpy.Sense.north) print(axes.axis1) print(axes.axis2) print(axes.axis3) print(axes.plane_parameters) print(axes.sense)
Resource ID
IDPH_ORIENTATIONAXES_APPLY_GEOPITCH