public vector_PolarCoord(vector_PolarCoord other) : this(VisionLabPINVOKE.new_vector_PolarCoord__SWIG_1(vector_PolarCoord.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_PolarCoordEnumerator(vector_PolarCoord collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_PolarCoord values)
 {
     VisionLabPINVOKE.vector_PolarCoord_SetRange(swigCPtr, index, vector_PolarCoord.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static vector_PolarCoord Repeat(PolarCoord value, int count)
    {
        IntPtr            cPtr = VisionLabPINVOKE.vector_PolarCoord_Repeat(PolarCoord.getCPtr(value), count);
        vector_PolarCoord ret  = (cPtr == IntPtr.Zero) ? null : new vector_PolarCoord(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_PolarCoord GetRange(int index, int count)
    {
        IntPtr            cPtr = VisionLabPINVOKE.vector_PolarCoord_GetRange(swigCPtr, index, count);
        vector_PolarCoord ret  = (cPtr == IntPtr.Zero) ? null : new vector_PolarCoord(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static vector_PolarCoord StrToPolarCoordTab(string str) {
   vector_PolarCoord ret = new vector_PolarCoord(VisionLabPINVOKE.StrToPolarCoordTab(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string PolarCoordTabToStr(vector_PolarCoord tab) {
   string ret = VisionLabPINVOKE.PolarCoordTabToStr(vector_PolarCoord.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(vector_PolarCoord obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_PolarCoord obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }