MMpy.OrientationAxes.apply_geoplunge
Syntax
orientation_axis.apply_geoplunge(strike, dip, sense, plunge)
Description
Apply a geological plunge 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). |
sense | MMpy.Sense | Sense of the plane. |
plunge | float | Plunge value in degrees (between 0 and the dip of the plane). |
Returns
Type |
Description |
---|---|
bool | Returns True if successful, False otherwise. |
See Also
MMpy.Sense
MMpy.OrientationAxes.apply_rotation
MMpy.OrientationAxes.apply_geopitch
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_geoplunge(164, 12, MMpy.Sense.north, 0) print(axes.axis1) print(axes.axis2) print(axes.axis3) print(axes.plane_parameters) print(axes.sense)
Resource ID
IDPH_ORIENTATIONAXES_APPLY_GEOPLUNGE