public GfMatrix3d(GfRotation rot) : this(UsdCsPINVOKE.new_GfMatrix3d__SWIG_7(GfRotation.getCPtr(rot)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfMatrix4f(GfRotation rotate, GfVec3f translate) : this(UsdCsPINVOKE.new_GfMatrix4f__SWIG_8(GfRotation.getCPtr(rotate), GfVec3f.getCPtr(translate)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfFrustum(GfVec3d position, GfRotation rotation, GfRange2d window, GfRange1d nearFar, GfFrustum.ProjectionType projectionType) : this(UsdCsPINVOKE.new_GfFrustum__SWIG_2(GfVec3d.getCPtr(position), GfRotation.getCPtr(rotation), GfRange2d.getCPtr(window), GfRange1d.getCPtr(nearFar), (int)projectionType), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRotation(GfRotation rotation) { UsdCsPINVOKE.GfFrustum_SetRotation(swigCPtr, GfRotation.getCPtr(rotation)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static GfRotation RotateOntoProjected(GfVec3d v1, GfVec3d v2, GfVec3d axis) { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfRotation_RotateOntoProjected(GfVec3d.getCPtr(v1), GfVec3d.getCPtr(v2), GfVec3d.getCPtr(axis)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfRotation SetRotateInto(GfVec3d rotateFrom, GfVec3d rotateTo) { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfRotation_SetRotateInto(swigCPtr, GfVec3d.getCPtr(rotateFrom), GfVec3d.getCPtr(rotateTo)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool Equals(GfRotation lhs, GfRotation rhs) { bool ret = UsdCsPINVOKE.GfRotation_Equals(GfRotation.getCPtr(lhs), GfRotation.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfRotation SetAxisAngle(GfVec3d axis, double angle) { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfRotation_SetAxisAngle(swigCPtr, GfVec3d.getCPtr(axis), angle), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix4f SetTransform(GfRotation rotate, GfVec3f translate) { GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetTransform__SWIG_0(swigCPtr, GfRotation.getCPtr(rotate), GfVec3f.getCPtr(translate)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix4f SetLookAt(GfVec3f eyePoint, GfRotation orientation) { GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetLookAt__SWIG_1(swigCPtr, GfVec3f.getCPtr(eyePoint), GfRotation.getCPtr(orientation)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix4f SetRotateOnly(GfRotation rot) { GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetRotateOnly__SWIG_1(swigCPtr, GfRotation.getCPtr(rot)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfRotation SetQuat(GfQuatd quat) { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfRotation_SetQuat(swigCPtr, GfQuatd.getCPtr(quat)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfRotation lhs, GfRotation 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) || GfRotation.Equals(lhs, rhs))); }
public GfMatrix3d SetRotate(GfRotation rot) { GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetRotate__SWIG_1(swigCPtr, GfRotation.getCPtr(rot)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public GfRotation SetIdentity() { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfRotation_SetIdentity(swigCPtr), false); return(ret); }
public GfRotation GetRotation() { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfFrustum_GetRotation(swigCPtr), false); return(ret); }
public GfRotation GetInverse() { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfRotation_GetInverse(swigCPtr), true); return(ret); }
public GfRotation ExtractRotation() { GfRotation ret = new GfRotation(UsdCsPINVOKE.GfMatrix4f_ExtractRotation(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfRotation obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
override public bool Equals(object rhs) { return(GfRotation.Equals(this, rhs as GfRotation)); }