public VectorPoint2Di(VectorPoint2Di other) : this(PapillonPINVOKE.new_VectorPoint2Di__SWIG_1(VectorPoint2Di.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public VectorPoint2DiEnumerator(VectorPoint2Di collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VectorPoint2Di values) { PapillonPINVOKE.VectorPoint2Di_SetRange(swigCPtr, index, VectorPoint2Di.getCPtr(values)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
public PPolygoni(VectorPoint2Di points) : this(PapillonPINVOKE.new_PPolygoni__SWIG_0(VectorPoint2Di.getCPtr(points)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) throw PapillonPINVOKE.SWIGPendingException.Retrieve(); }
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); }