コード例 #1
0
 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();
     }
 }
コード例 #2
0
 public vector_PolarCoordEnumerator(vector_PolarCoord collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 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();
     }
 }
コード例 #4
0
    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);
    }
コード例 #5
0
    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);
    }
コード例 #6
0
 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;
 }
コード例 #7
0
 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;
 }
コード例 #8
0
 internal static HandleRef getCPtr(vector_PolarCoord obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #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);
 }