Added in API level 30

SphericalCorrections


class SphericalCorrections : Parcelable
kotlin.Any
   ↳ android.location.GnssAntennaInfo.SphericalCorrections

Represents corrections on a spherical mapping. Corrections are added to measurements to obtain the corrected values. The corrections and associated (1-sigma) uncertainties are represented by respect 2D arrays. Each row (major indices) represents a fixed theta. The first row corresponds to a theta angle of 0 degrees. The last row corresponds to a theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows). The columns (minor indices) represent fixed zenith angles, beginning at 0 degrees and ending at 180 degrees. They are separated by deltaPhi, the regular spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).

Summary

Inherited constants
Public constructors
SphericalCorrections(corrections: Array<DoubleArray!>, correctionUncertainties: Array<DoubleArray!>)

Public methods
Int

Boolean
equals(other: Any?)

Array<DoubleArray!>

Array representing uncertainty on corrections on a spherical mapping.

Array<DoubleArray!>

Array representing corrections on a spherical mapping.

Double

The fixed phi angle separation between successive columns.

Double

The fixed theta angle separation between successive rows.

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<GnssAntennaInfo.SphericalCorrections!>

Public constructors

SphericalCorrections

Added in API level 30
SphericalCorrections(
    corrections: Array<DoubleArray!>,
    correctionUncertainties: Array<DoubleArray!>)
Parameters
corrections Array<DoubleArray!>: This value cannot be null.
correctionUncertainties Array<DoubleArray!>: This value cannot be null.

Public methods

describeContents

Added in API level 30
fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

equals

Added in API level 30
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getCorrectionUncertaintiesArray

Added in API level 30
fun getCorrectionUncertaintiesArray(): Array<DoubleArray!>

Array representing uncertainty on corrections on a spherical mapping. Each row (major indices) represents a fixed theta. The first row corresponds to a theta angle of 0 degrees. The last row corresponds to a theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows). The columns (minor indices) represent fixed zenith angles, beginning at 0 degrees and ending at 180 degrees. They are separated by deltaPhi, the regular spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).

Return
Array<DoubleArray!> This value cannot be null.

getCorrectionsArray

Added in API level 30
fun getCorrectionsArray(): Array<DoubleArray!>

Array representing corrections on a spherical mapping. Corrections are added to measurements to obtain the corrected values. Each row (major indices) represents a fixed theta. The first row corresponds to a theta angle of 0 degrees. The last row corresponds to a theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows). The columns (minor indices) represent fixed zenith angles, beginning at 0 degrees and ending at 180 degrees. They are separated by deltaPhi, the regular spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).

Return
Array<DoubleArray!> This value cannot be null.

getDeltaPhi

Added in API level 30
fun getDeltaPhi(): Double

The fixed phi angle separation between successive columns.

Return
Double Value is between 0.0f and 180.0f inclusive

getDeltaTheta

Added in API level 30
fun getDeltaTheta(): Double

The fixed theta angle separation between successive rows.

Return
Double Value is between 0.0f and 360.0f inclusive

hashCode

Added in API level 30
fun hashCode(): Int
Return
Int a hash code value for this object.

toString

Added in API level 30
fun toString(): String
Return
String a string representation of the object.

writeToParcel

Added in API level 30
fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Flatten this object in to a Parcel.

Parameters
dest Parcel: This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

Properties