public PolygonVector(PolygonVector other) : this(bwtaPINVOKE.new_PolygonVector__SWIG_1(PolygonVector.getCPtr(other)), true) { if (bwtaPINVOKE.SWIGPendingException.Pending) { throw bwtaPINVOKE.SWIGPendingException.Retrieve(); } }
public PolygonVectorEnumerator(PolygonVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, PolygonVector values) { bwtaPINVOKE.PolygonVector_SetRange(swigCPtr, index, PolygonVector.getCPtr(values)); if (bwtaPINVOKE.SWIGPendingException.Pending) { throw bwtaPINVOKE.SWIGPendingException.Retrieve(); } }
public static PolygonVector Repeat(Polygon value, int count) { global::System.IntPtr cPtr = bwtaPINVOKE.PolygonVector_Repeat(Polygon.getCPtr(value), count); PolygonVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new PolygonVector(cPtr, true); if (bwtaPINVOKE.SWIGPendingException.Pending) { throw bwtaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PolygonVector GetRange(int index, int count) { global::System.IntPtr cPtr = bwtaPINVOKE.PolygonVector_GetRange(swigCPtr, index, count); PolygonVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new PolygonVector(cPtr, true); if (bwtaPINVOKE.SWIGPendingException.Pending) { throw bwtaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PolygonVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PolygonVector getHoles() { PolygonVector ret = new PolygonVector(bwtaPINVOKE.Polygon_getHoles(swigCPtr), false); return(ret); }