Share via


SensorManager.GetInclination(Single[]) Method

Definition

Computes the geomagnetic inclination angle in radians from the inclination matrix <b>I</b> returned by #getRotationMatrix.

[Android.Runtime.Register("getInclination", "([F)F", "")]
public static float GetInclination (float[]? I);
[<Android.Runtime.Register("getInclination", "([F)F", "")>]
static member GetInclination : single[] -> single

Parameters

I
Single[]

inclination matrix see #getRotationMatrix.

Returns

The geomagnetic inclination angle in radians.

Attributes

Remarks

Computes the geomagnetic inclination angle in radians from the inclination matrix <b>I</b> returned by #getRotationMatrix.

Java documentation for android.hardware.SensorManager.getInclination(float[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also

  • <xref:Android.Hardware.SensorManager.GetRotationMatrix(System.Single%5b%5d%2c+System.Single%5b%5d%2c+System.Single%5b%5d%2c+System.Single%5b%5d)>
  • <xref:Android.Hardware.SensorManager.GetOrientation(System.Single%5b%5d%2c+System.Single%5b%5d)>
  • GeomagneticField