Example #1
0
 public void SetRange(int index, GfVec3dVector values)
 {
     UsdCsPINVOKE.GfVec3dVector_SetRange(swigCPtr, index, GfVec3dVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public static GfVec3dVector Repeat(GfVec3d value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.GfVec3dVector_Repeat(GfVec3d.getCPtr(value), count);
            GfVec3dVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GfVec3dVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public GfVec3dVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.GfVec3dVector_GetRange(swigCPtr, index, count);
            GfVec3dVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GfVec3dVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        public GfVec3dVector ComputeCornersAtDistance(double d)
        {
            GfVec3dVector ret = new GfVec3dVector(UsdCsPINVOKE.GfFrustum_ComputeCornersAtDistance(swigCPtr, d), true);

            return(ret);
        }
Example #5
0
        public GfVec3dVector ComputeCorners()
        {
            GfVec3dVector ret = new GfVec3dVector(UsdCsPINVOKE.GfFrustum_ComputeCorners(swigCPtr), true);

            return(ret);
        }
Example #6
0
 public GfVec3dVector(GfVec3dVector other) : this(UsdCsPINVOKE.new_GfVec3dVector__SWIG_1(GfVec3dVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec3dVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }