public VtVec3fArrayVector(VtVec3fArrayVector other) : this(UsdCsPINVOKE.new_VtVec3fArrayVector__SWIG_1(VtVec3fArrayVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public VtVec3fArrayVectorEnumerator(VtVec3fArrayVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, VtVec3fArrayVector values)
 {
     UsdCsPINVOKE.VtVec3fArrayVector_SetRange(swigCPtr, index, VtVec3fArrayVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
        public bool ComputePointsAtTimes(VtVec3fArrayVector pointsArray, UsdTimeCodeVector times, UsdTimeCode baseTime)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointBased_ComputePointsAtTimes(swigCPtr, VtVec3fArrayVector.getCPtr(pointsArray), UsdTimeCodeVector.getCPtr(times), UsdTimeCode.getCPtr(baseTime));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool ComputeExtentAtTimes(VtVec3fArrayVector extents, UsdTimeCodeVector times, UsdTimeCode baseTime, GfMatrix4d transform)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeExtentAtTimes__SWIG_1(swigCPtr, VtVec3fArrayVector.getCPtr(extents), UsdTimeCodeVector.getCPtr(times), UsdTimeCode.getCPtr(baseTime), GfMatrix4d.getCPtr(transform));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static VtVec3fArrayVector Repeat(VtVec3fArray value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.VtVec3fArrayVector_Repeat(VtVec3fArray.getCPtr(value), count);
            VtVec3fArrayVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VtVec3fArrayVector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VtVec3fArrayVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }