Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/
DAoaVectorTest.java93 .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()
DSphericalVectorTest.java67 .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/
DFoVPrimerTest.java40 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/
DNullPositionFilter.java79 Vector3 vecFromOldCam = compute(timeMs).toCartesian(); in updatePose()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/
DPositionFilterImpl.java133 Vector3 vecFromOldCam = estimate.toCartesian(); in updatePoseFromDelta()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DAoaVector.java230 public Vector3 toCartesian() { in toCartesian() method in AoaVector
DSphericalVector.java188 public Vector3 toCartesian() { in toCartesian() method in SphericalVector
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/
DBackAzimuthPrimer.java359 return SphericalVector.fromCartesian(deltaPose.transformPoint(input.toCartesian())); in transformSpherical()