public void setOrientationEuler(XsEuler data, XsDataIdentifier coordinateSystem)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setOrientationEuler(swigCPtr, XsEuler.getCPtr(data), (int)coordinateSystem);
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public bool compare(XsEuler other, double tolerance)
        {
            bool ret = xsensdeviceapiPINVOKE.XsEuler_compare(swigCPtr, XsEuler.getCPtr(other), tolerance);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
 public XsQuaternion(XsEuler euler) : this(xsensdeviceapiPINVOKE.new_XsQuaternion__SWIG_6(XsEuler.getCPtr(euler)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public XsQuaternion fromEulerAngles(XsEuler src)
        {
            XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsQuaternion_fromEulerAngles(swigCPtr, XsEuler.getCPtr(src)), false);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public XsEuler(XsEuler other) : this(xsensdeviceapiPINVOKE.new_XsEuler__SWIG_2(XsEuler.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }