예제 #1
0
 public Polygon(Polygon b) : this(bwtaPINVOKE.new_Polygon__SWIG_1(Polygon.getCPtr(b)), true) {
   if (bwtaPINVOKE.SWIGPendingException.Pending) throw bwtaPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #2
0
public bool Equals(Polygon obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
예제 #3
0
 public virtual Polygon getPolygon() {
   Polygon ret = new Polygon(bwtaPINVOKE.Region_getPolygon(swigCPtr), false);
   return ret;
 }
예제 #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;
 }
예제 #5
0
 internal static HandleRef getCPtr(Polygon obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }