Home
last modified time | relevance | path

Searched refs:refLat (Results 1 – 1 of 1) sorted by relevance

/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/
DEcef2EnuConverter.java47 double refLat, double refLng){ in convertEcefToEnu() argument
49 RealMatrix rotationMatrix = getRotationMatrix(refLat, refLng); in convertEcefToEnu()
73 public static RealMatrix getRotationMatrix(double refLat, double refLng){ in getRotationMatrix() argument
78 rotationMatrix.setEntry(1, 0, -1 * Math.cos(refLng) * Math.sin(refLat)); in getRotationMatrix()
79 rotationMatrix.setEntry(2, 0, Math.cos(refLng) * Math.cos(refLat)); in getRotationMatrix()
81 rotationMatrix.setEntry(1, 1, -1 * Math.sin(refLat) * Math.sin(refLng)); in getRotationMatrix()
82 rotationMatrix.setEntry(2, 1, Math.cos(refLat) * Math.sin(refLng)); in getRotationMatrix()
84 rotationMatrix.setEntry(1, 2, Math.cos(refLat)); in getRotationMatrix()
85 rotationMatrix.setEntry(2, 2, Math.sin(refLat)); in getRotationMatrix()