Home
last modified time | relevance | path

Searched refs:refLng (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
77 rotationMatrix.setEntry(0, 0, -1 * Math.sin(refLng)); in getRotationMatrix()
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()
80 rotationMatrix.setEntry(0, 1, Math.cos(refLng)); 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()