Example #1
0
 public Polygon(Polygon b) : this(bwtaPINVOKE.new_Polygon__SWIG_1(Polygon.getCPtr(b)), true) {
   if (bwtaPINVOKE.SWIGPendingException.Pending) throw bwtaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #2
0
public bool Equals(Polygon obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
Example #3
0
 public virtual Polygon getPolygon() {
   Polygon ret = new Polygon(bwtaPINVOKE.Region_getPolygon(swigCPtr), false);
   return ret;
 }
Example #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Polygon obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Example #5
0
 internal static HandleRef getCPtr(Polygon obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }