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 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 ExtendBy(GfRange1d range) { UsdCsPINVOKE.GfRange1d_ExtendBy__SWIG_1(swigCPtr, GfRange1d.getCPtr(range)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetNearFar(GfRange1d nearFar) { UsdCsPINVOKE.GfFrustum_SetNearFar(swigCPtr, GfRange1d.getCPtr(nearFar)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(GfRange1d lhs, GfRange1d rhs) { bool ret = UsdCsPINVOKE.GfRange1d_Equals(GfRange1d.getCPtr(lhs), GfRange1d.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfRange1d IntersectWith(GfRange1d b) { GfRange1d ret = new GfRange1d(UsdCsPINVOKE.GfRange1d_IntersectWith(swigCPtr, GfRange1d.getCPtr(b)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static GfRange1d Intersection(GfRange1d a, GfRange1d b) { GfRange1d ret = new GfRange1d(UsdCsPINVOKE.GfRange1d_Intersection__SWIG_0(GfRange1d.getCPtr(a), GfRange1d.getCPtr(b)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool IsOutside(GfRange1d range) { bool ret = UsdCsPINVOKE.GfRange1d_IsOutside(swigCPtr, GfRange1d.getCPtr(range)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool Contains(GfRange1d range) { bool ret = UsdCsPINVOKE.GfRange1d_Contains__SWIG_1(swigCPtr, GfRange1d.getCPtr(range)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfRange1d lhs, GfRange1d 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) || GfRange1d.Equals(lhs, rhs))); }
public GfRange1d GetNearFar() { GfRange1d ret = new GfRange1d(UsdCsPINVOKE.GfFrustum_GetNearFar(swigCPtr), false); return(ret); }
override public bool Equals(object rhs) { return(GfRange1d.Equals(this, rhs as GfRange1d)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfRange1d obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public GfRange1d Union(double b) { GfRange1d ret = new GfRange1d(UsdCsPINVOKE.GfRange1d_Union__SWIG_2(swigCPtr, b), false); return(ret); }