Example #1
0
 public VectorPoint2Df(VectorPoint2Df other) : this(PapillonPINVOKE.new_VectorPoint2Df__SWIG_1(VectorPoint2Df.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public PPolygonf(VectorPoint2Df points) : this(PapillonPINVOKE.new_PPolygonf__SWIG_0(VectorPoint2Df.getCPtr(points)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public VectorPoint2DfEnumerator(VectorPoint2Df collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #4
0
 public void SetRange(int index, VectorPoint2Df values)
 {
     PapillonPINVOKE.VectorPoint2Df_SetRange(swigCPtr, index, VectorPoint2Df.getCPtr(values));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
    public static VectorPoint2Df Repeat(PPoint2Df value, int count)
    {
        global::System.IntPtr cPtr = PapillonPINVOKE.VectorPoint2Df_Repeat(PPoint2Df.getCPtr(value), count);
        VectorPoint2Df        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorPoint2Df(cPtr, true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #6
0
    public VectorPoint2Df GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = PapillonPINVOKE.VectorPoint2Df_GetRange(swigCPtr, index, count);
        VectorPoint2Df        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorPoint2Df(cPtr, true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorPoint2Df obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }