public GfMatrix3d(GfMatrix3f m) : this(UsdCsPINVOKE.new_GfMatrix3d__SWIG_9(GfMatrix3f.getCPtr(m)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(GfMatrix3f lhs, GfMatrix3f rhs) { bool ret = UsdCsPINVOKE.GfMatrix3f_Equals(GfMatrix3f.getCPtr(lhs), GfMatrix3f.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix3f SetScale(GfVec3f scaleFactors) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetScale__SWIG_1(swigCPtr, GfVec3f.getCPtr(scaleFactors)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix3f SetRotate(GfRotation rot) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetRotate__SWIG_1(swigCPtr, GfRotation.getCPtr(rot)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix4f SetTransform(GfMatrix3f rotmx, GfVec3f translate) { GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetTransform__SWIG_1(swigCPtr, GfMatrix3f.getCPtr(rotmx), GfVec3f.getCPtr(translate)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix3f SetDiagonal(GfVec3f arg0) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetDiagonal__SWIG_1(swigCPtr, GfVec3f.getCPtr(arg0)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix4f SetRotateOnly(GfMatrix3f mx) { GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetRotateOnly__SWIG_2(swigCPtr, GfMatrix3f.getCPtr(mx)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfMatrix3f lhs, GfMatrix3f rhs) { // The Swig binding glue will re-enter this operator comparing to null, so // that case must be handled explicitly to avoid an infinite loop. This is still // not great, since it crosses the C#/C++ barrier twice. A better approache might // be to return a simple value from C++ that can be compared in C#. bool lnull = lhs as object == null; bool rnull = rhs as object == null; return((lnull == rnull) && ((lnull && rnull) || GfMatrix3f.Equals(lhs, rhs))); }
override public bool Equals(object rhs) { return(GfMatrix3f.Equals(this, rhs as GfMatrix3f)); }
public GfMatrix3f SetZero() { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetZero(swigCPtr), false); return(ret); }
public GfMatrix3f GetOrthonormalized(bool issueWarning) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_GetOrthonormalized__SWIG_0(swigCPtr, issueWarning), true); return(ret); }
public GfMatrix3f GetInverse() { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_GetInverse__SWIG_2(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfMatrix3f obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public GfMatrix3f GetInverse(ref double det) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_GetInverse__SWIG_1(swigCPtr, ref det), true); return(ret); }
public GfMatrix3f GetTranspose() { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_GetTranspose(swigCPtr), true); return(ret); }
public GfMatrix3f SetDiagonal(float s) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetDiagonal__SWIG_0(swigCPtr, s), false); return(ret); }
public GfMatrix3f GetOrthonormalized() { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_GetOrthonormalized__SWIG_1(swigCPtr), true); return(ret); }
public GfMatrix3f SetScale(float scaleFactor) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetScale__SWIG_0(swigCPtr, scaleFactor), false); return(ret); }
public GfMatrix3f ExtractRotationMatrix() { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix4f_ExtractRotationMatrix(swigCPtr), true); return(ret); }
public GfMatrix3f Set(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22) { GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_Set(swigCPtr, m00, m01, m02, m10, m11, m12, m20, m21, m22), false); return(ret); }