Exemplo n.º 1
0
 public PolygonVector(PolygonVector other) : this(bwtaPINVOKE.new_PolygonVector__SWIG_1(PolygonVector.getCPtr(other)), true)
 {
     if (bwtaPINVOKE.SWIGPendingException.Pending)
     {
         throw bwtaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public PolygonVectorEnumerator(PolygonVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, PolygonVector values)
 {
     bwtaPINVOKE.PolygonVector_SetRange(swigCPtr, index, PolygonVector.getCPtr(values));
     if (bwtaPINVOKE.SWIGPendingException.Pending)
     {
         throw bwtaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
        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);
        }
Exemplo n.º 6
0
 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);
 }
Exemplo n.º 7
0
        public PolygonVector getHoles()
        {
            PolygonVector ret = new PolygonVector(bwtaPINVOKE.Polygon_getHoles(swigCPtr), false);

            return(ret);
        }