public Edge2Di(Point2Di point1, Point2Di point2) : this(solar_datastructurePINVOKE.new_Edge2Di__SWIG_1(Point2Di.getCPtr(point1), Point2Di.getCPtr(point2)), true) { if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Point2Di obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }