Searched refs:toCartesian (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/ |
D | AoaVectorTest.java | 93 .toCartesian() in testToSphericalVector() 99 assertClose(avec.toCartesian(), svec.toCartesian()); in testToSphericalVector() 103 assertClose(avec.toCartesian(), svec.toCartesian()); in testToSphericalVector() 104 assertClose(svec.toAoAVector().toCartesian(), svec.toCartesian()); in testToSphericalVector() 108 assertClose(avec.toCartesian(), svec.toCartesian()); in testToSphericalVector() 109 assertClose(svec.toAoAVector().toCartesian(), svec.toCartesian()); in testToSphericalVector() 113 assertClose(avec.toCartesian(), svec.toCartesian()); in testToSphericalVector() 114 assertClose(svec.toAoAVector().toCartesian(), svec.toCartesian()); in testToSphericalVector() 147 assertClose(AoaVector.fromCartesian(targ).toCartesian(), targ); in cartesian()
|
D | SphericalVectorTest.java | 67 .toCartesian() in testToAoAVector() 73 assertClose(svec.toCartesian(), avec.toCartesian()); in testToAoAVector() 77 assertClose(svec.toCartesian(), avec.toCartesian()); in testToAoAVector() 78 assertClose(avec.toSphericalVector().toCartesian(), avec.toCartesian()); in testToAoAVector() 82 assertClose(svec.toCartesian(), avec.toCartesian()); in testToAoAVector() 83 assertClose(avec.toSphericalVector().toCartesian(), avec.toCartesian()); in testToAoAVector() 87 assertClose(svec.toCartesian(), avec.toCartesian()); in testToAoAVector() 88 assertClose(avec.toSphericalVector().toCartesian(), avec.toCartesian()); in testToAoAVector() 121 assertClose(SphericalVector.fromCartesian(targ).toCartesian(), targ); in cartesian()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/ |
D | FoVPrimerTest.java | 40 Vector3 within = SphericalVector.fromDegrees(44, 0, 10).toCartesian(); in conversionTest() 41 Vector3 outside = SphericalVector.fromDegrees(46, 0, 10).toCartesian(); in conversionTest()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/ |
D | NullPositionFilter.java | 79 Vector3 vecFromOldCam = compute(timeMs).toCartesian(); in updatePose()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/ |
D | PositionFilterImpl.java | 133 Vector3 vecFromOldCam = estimate.toCartesian(); in updatePoseFromDelta()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | AoaVector.java | 230 public Vector3 toCartesian() { in toCartesian() method in AoaVector
|
D | SphericalVector.java | 188 public Vector3 toCartesian() { in toCartesian() method in SphericalVector
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/ |
D | BackAzimuthPrimer.java | 359 return SphericalVector.fromCartesian(deltaPose.transformPoint(input.toCartesian())); in transformSpherical()
|