Exemple #1
0
 public void swap(XsMatrix b)
 {
     xsensdeviceapiPINVOKE.XsMatrix_swap(swigCPtr, XsMatrix.getCPtr(b));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setOrientationMatrix(XsMatrix data, XsDataIdentifier coordinateSystem)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setOrientationMatrix(swigCPtr, XsMatrix.getCPtr(data), (int)coordinateSystem);
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
        public bool compare(XsMatrix other, double tolerance)
        {
            bool ret = xsensdeviceapiPINVOKE.XsMatrix_compare(swigCPtr, XsMatrix.getCPtr(other), tolerance);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
 public XsMatrix3x3(XsMatrix other) : this(xsensdeviceapiPINVOKE.new_XsMatrix3x3__SWIG_1(XsMatrix.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public XsQuaternion(XsMatrix ori) : this(xsensdeviceapiPINVOKE.new_XsQuaternion__SWIG_7(XsMatrix.getCPtr(ori)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
        public XsQuaternion fromRotationMatrix(XsMatrix ori)
        {
            XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsQuaternion_fromRotationMatrix(swigCPtr, XsMatrix.getCPtr(ori)), false);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #7
0
 public XsMatrix(XsMatrix other, SWIGTYPE_p_double arg1, uint rows, uint cols, uint stride) : this(xsensdeviceapiPINVOKE.new_XsMatrix__SWIG_9(XsMatrix.getCPtr(other), SWIGTYPE_p_double.getCPtr(arg1), rows, cols, stride), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }