Searched refs:fromCartesian (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/ |
D | AoaVectorTest.java | 119 assertThat(AoaVector.fromCartesian(0, 0, 0).distance).isEqualTo(0); in cartesian() 123 AoaVector.fromCartesian(new Vector3(0, 0, -1)), in cartesian() 129 AoaVector.fromCartesian(new Vector3(-1, 0, 0)), in cartesian() 134 AoaVector gimbalLock = AoaVector.fromCartesian(new Vector3(0, 1, 0)); in cartesian() 142 AoaVector.fromCartesian(new Vector3(-1, 0, 1)), in cartesian() 147 assertClose(AoaVector.fromCartesian(targ).toCartesian(), targ); in cartesian()
|
D | SphericalVectorTest.java | 93 assertThat(SphericalVector.fromCartesian(0, 0, 0).distance).isEqualTo(0); in cartesian() 97 SphericalVector.fromCartesian(new Vector3(0, 0, -1)), in cartesian() 103 SphericalVector.fromCartesian(new Vector3(-1, 0, 0)), in cartesian() 108 SphericalVector gimbalLock = SphericalVector.fromCartesian(new Vector3(0, 1, 0)); in cartesian() 116 SphericalVector.fromCartesian(new Vector3(-1, 0, 1)), in cartesian() 121 assertClose(SphericalVector.fromCartesian(targ).toCartesian(), targ); in cartesian()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | AoaVector.java | 171 public static AoaVector fromCartesian(@NonNull Vector3 position) { in fromCartesian() method in AoaVector 173 return fromCartesian(position.x, position.y, position.z); in fromCartesian() 186 public static AoaVector fromCartesian(float x, float y, float z) { in fromCartesian() method in AoaVector
|
D | SphericalVector.java | 124 public static SphericalVector fromCartesian(@NonNull Vector3 position) { in fromCartesian() method in SphericalVector 126 return fromCartesian(position.x, position.y, position.z); in fromCartesian() 139 public static SphericalVector fromCartesian(float x, float y, float z) { in fromCartesian() method in SphericalVector
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/ |
D | FoVPrimerTest.java | 44 input = SphericalVector.fromCartesian(within).toAnnotated(); in conversionTest() 51 input = SphericalVector.fromCartesian(outside).toAnnotated(); in conversionTest()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/ |
D | NullPositionFilter.java | 85 mValue = SphericalVector.fromCartesian(vecFromNewCam).toAnnotated() in updatePose()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/ |
D | PositionFilterImpl.java | 139 SphericalVector newEstimate = SphericalVector.fromCartesian(vecFromNewCam); in updatePoseFromDelta()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/ |
D | BackAzimuthPrimer.java | 359 return SphericalVector.fromCartesian(deltaPose.transformPoint(input.toCartesian())); in transformSpherical()
|