예제 #1
0
        public bool setAlignmentRotationQuaternion(XsAlignmentFrame frame, XsQuaternion quat)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_setAlignmentRotationQuaternion(swigCPtr, (int)frame, XsQuaternion.getCPtr(quat));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public bool setAlignmentRotationMatrix(XsAlignmentFrame frame, XsMatrix matrix)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_setAlignmentRotationMatrix(swigCPtr, (int)frame, XsMatrix.getCPtr(matrix));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
        public XsQuaternion alignmentRotationQuaternion(XsAlignmentFrame frame)
        {
            XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsDevice_alignmentRotationQuaternion(swigCPtr, (int)frame), true);

            return(ret);
        }
예제 #4
0
        public XsMatrix alignmentRotationMatrix(XsAlignmentFrame frame)
        {
            XsMatrix ret = new XsMatrix(xsensdeviceapiPINVOKE.XsDevice_alignmentRotationMatrix(swigCPtr, (int)frame), true);

            return(ret);
        }