Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
方位角由维基百科定义为:
球坐标系中的角度测量。从观察者(原点)到兴趣点的矢量垂直投影到参考平面上;投影向量与参考平面上的参考向量之间的夹角称为方位角。
如何在 Android 上获得此值?
float [] orientation = SensorManager.getOrientation(); float azimuth = orientation[0];
另请参阅:SensorManager.getOrientation(...);