public VtDoubleArray(VtDoubleArray other) : this(UsdCsPINVOKE.new_VtDoubleArray__SWIG_1(VtDoubleArray.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtValue(VtDoubleArray obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_27(VtDoubleArray.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void swap(VtDoubleArray other) { UsdCsPINVOKE.VtDoubleArray_swap(swigCPtr, VtDoubleArray.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(VtDoubleArray lhs, VtDoubleArray rhs) { bool ret = UsdCsPINVOKE.VtDoubleArray_Equals(VtDoubleArray.getCPtr(lhs), VtDoubleArray.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool IsIdentical(VtDoubleArray other) { bool ret = UsdCsPINVOKE.VtDoubleArray_IsIdentical(swigCPtr, VtDoubleArray.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
static public double[] FromVtArray(VtDoubleArray input) { var output = UsdIo.ArrayAllocator.Malloc <double>(input.size()); unsafe { fixed(double *p = output) { input.CopyToArray((IntPtr)p); } } return(output); }
static public VtDoubleArray ToVtArray(double[] input) { var output = new VtDoubleArray((uint)input.Length); unsafe { fixed(double *p = input) { output.CopyFromArray((IntPtr)p); } } return(output); }
static public List <double> ListFromVtArray(VtDoubleArray input) { return(FromVtArray(input).ToList()); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VtDoubleArray obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }