1 /****************************************************************************** 2 * $Id: AKFS_Direction.h 580 2012-03-29 09:56:21Z yamada.rj $ 3 ****************************************************************************** 4 * 5 * Copyright (C) 2012 Asahi Kasei Microdevices Corporation, Japan 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 */ 19 #ifndef AKFS_INC_DIRECTION_H 20 #define AKFS_INC_DIRECTION_H 21 22 #include "AKFS_Device.h" 23 24 /***** Prototype of function **************************************************/ 25 AKLIB_C_API_START 26 int16 AKFS_Direction( 27 const int16 nhvec, 28 const AKFVEC hvec[], 29 const int16 hnave, 30 const int16 navec, 31 const AKFVEC avec[], 32 const int16 anave, 33 AKFLOAT* azimuth, 34 AKFLOAT* pitch, 35 AKFLOAT* roll 36 ); 37 AKLIB_C_API_END 38 39 #endif 40 41