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 GfFrustum(GfMatrix4d camToWorldXf, GfRange2d window, GfRange1d nearFar, GfFrustum.ProjectionType projectionType) : this(UsdCsPINVOKE.new_GfFrustum__SWIG_4(GfMatrix4d.getCPtr(camToWorldXf), GfRange2d.getCPtr(window), GfRange1d.getCPtr(nearFar), (int)projectionType), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetWindow(GfRange2d window) { UsdCsPINVOKE.GfFrustum_SetWindow(swigCPtr, GfRange2d.getCPtr(window)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void ExtendBy(GfRange2d range) { UsdCsPINVOKE.GfRange2d_ExtendBy__SWIG_1(swigCPtr, GfRange2d.getCPtr(range)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(GfRange2d lhs, GfRange2d rhs) { bool ret = UsdCsPINVOKE.GfRange2d_Equals(GfRange2d.getCPtr(lhs), GfRange2d.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfRange2d IntersectWith(GfRange2d b) { GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfRange2d_IntersectWith(swigCPtr, GfRange2d.getCPtr(b)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static GfRange2d Intersection(GfRange2d a, GfRange2d b) { GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfRange2d_Intersection__SWIG_0(GfRange2d.getCPtr(a), GfRange2d.getCPtr(b)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfRange2d Union(GfVec2d b) { GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfRange2d_Union__SWIG_2(swigCPtr, GfVec2d.getCPtr(b)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool IsOutside(GfRange2d range) { bool ret = UsdCsPINVOKE.GfRange2d_IsOutside(swigCPtr, GfRange2d.getCPtr(range)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool Contains(GfRange2d range) { bool ret = UsdCsPINVOKE.GfRange2d_Contains__SWIG_1(swigCPtr, GfRange2d.getCPtr(range)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfRange2d lhs, GfRange2d 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) || GfRange2d.Equals(lhs, rhs))); }
public GfRange2d GetWindow() { GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfFrustum_GetWindow(swigCPtr), false); return(ret); }
override public bool Equals(object rhs) { return(GfRange2d.Equals(this, rhs as GfRange2d)); }
public GfRange2d GetQuadrant(uint i) { GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfRange2d_GetQuadrant(swigCPtr, i), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfRange2d obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }