Ejemplo n.º 1
0
 public VectorPoint2Di(VectorPoint2Di other) : this(PapillonPINVOKE.new_VectorPoint2Di__SWIG_1(VectorPoint2Di.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public VectorPoint2DiEnumerator(VectorPoint2Di collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, VectorPoint2Di values)
 {
     PapillonPINVOKE.VectorPoint2Di_SetRange(swigCPtr, index, VectorPoint2Di.getCPtr(values));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
    public static VectorPoint2Di Repeat(PPoint2Di value, int count)
    {
        global::System.IntPtr cPtr = PapillonPINVOKE.VectorPoint2Di_Repeat(PPoint2Di.getCPtr(value), count);
        VectorPoint2Di        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorPoint2Di(cPtr, true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 5
0
    public VectorPoint2Di GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = PapillonPINVOKE.VectorPoint2Di_GetRange(swigCPtr, index, count);
        VectorPoint2Di        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorPoint2Di(cPtr, true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 6
0
 public PPolygoni(VectorPoint2Di points) : this(PapillonPINVOKE.new_PPolygoni__SWIG_0(VectorPoint2Di.getCPtr(points)), true) {
   if (PapillonPINVOKE.SWIGPendingException.Pending) throw PapillonPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorPoint2Di obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }