public XsQuaternion(XsQuaternion other) : this(xsensdeviceapiPINVOKE.new_XsQuaternion__SWIG_5(XsQuaternion.getCPtr(other)), true) { if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public XsEuler(XsQuaternion q) : this(xsensdeviceapiPINVOKE.new_XsEuler__SWIG_3(XsQuaternion.getCPtr(q)), true) { if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public XsVector(XsQuaternion quat, double deltaT) : this(xsensdeviceapiPINVOKE.new_XsVector__SWIG_8(XsQuaternion.getCPtr(quat), deltaT), true) { if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public XsSdiData(XsQuaternion dq, XsVector dv) : this(xsensdeviceapiPINVOKE.new_XsSdiData__SWIG_1(XsQuaternion.getCPtr(dq), XsVector.getCPtr(dv)), true) { if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public XsMatrix(XsQuaternion quat) : this(xsensdeviceapiPINVOKE.new_XsMatrix__SWIG_10(XsQuaternion.getCPtr(quat)), true) { if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public void setOrientationIncrement(XsQuaternion dq) { xsensdeviceapiPINVOKE.XsSdiData_setOrientationIncrement(swigCPtr, XsQuaternion.getCPtr(dq)); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public void swap(XsQuaternion other) { xsensdeviceapiPINVOKE.XsQuaternion_swap(swigCPtr, XsQuaternion.getCPtr(other)); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public void setOrientationQuaternion(XsQuaternion data, XsDataIdentifier coordinateSystem) { xsensdeviceapiPINVOKE.XsDataPacket_setOrientationQuaternion(swigCPtr, XsQuaternion.getCPtr(data), (int)coordinateSystem); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public XsEuler fromQuaternion(XsQuaternion quat) { XsEuler ret = new XsEuler(xsensdeviceapiPINVOKE.XsEuler_fromQuaternion(swigCPtr, XsQuaternion.getCPtr(quat)), false); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public XsVector angularVelocityFromQuaternion(XsQuaternion quat, double deltaT) { XsVector ret = new XsVector(xsensdeviceapiPINVOKE.XsVector_angularVelocityFromQuaternion(swigCPtr, XsQuaternion.getCPtr(quat), deltaT), false); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool compare(XsQuaternion other, double tolerance) { bool ret = xsensdeviceapiPINVOKE.XsQuaternion_compare(swigCPtr, XsQuaternion.getCPtr(other), tolerance); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
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 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); }
public double dotProduct(XsQuaternion other) { double ret = xsensdeviceapiPINVOKE.XsQuaternion_dotProduct(swigCPtr, XsQuaternion.getCPtr(other)); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public XsQuaternion orientationQuaternion() { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsDataPacket_orientationQuaternion__SWIG_1(swigCPtr), true); return(ret); }
public XsQuaternion orientationQuaternion(XsDataIdentifier coordinateSystem) { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsDataPacket_orientationQuaternion__SWIG_0(swigCPtr, (int)coordinateSystem), true); return(ret); }
public XsQuaternion orientationIncrement() { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsSdiData_orientationIncrement(swigCPtr), false); return(ret); }
public XsQuaternion normalized() { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsQuaternion_normalized(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsQuaternion obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public XsQuaternion inverse() { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsQuaternion_inverse(swigCPtr), true); return(ret); }
public static XsQuaternion identity() { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsQuaternion_identity(), false); return(ret); }
public XsQuaternion alignmentRotationQuaternion(XsAlignmentFrame frame) { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsDevice_alignmentRotationQuaternion(swigCPtr, (int)frame), true); return(ret); }
public XsQuaternion conjugate() { XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsQuaternion_conjugate(swigCPtr), true); return(ret); }