public BC_3DPoint GetEndPoint() { global::System.IntPtr cPtr = BIMcollab_LinePINVOKE.BC_Line_GetEndPoint(swigCPtr); BC_3DPoint ret = (cPtr == global::System.IntPtr.Zero) ? null : new BC_3DPoint(cPtr, false); return(ret); }
public BC_Line(BC_3DPoint startPoint, BC_3DPoint endPoint) : this(BIMcollab_LinePINVOKE.new_BC_Line(BC_3DPoint.getCPtr(startPoint), BC_3DPoint.getCPtr(endPoint)), true) { if (BIMcollab_LinePINVOKE.SWIGPendingException.Pending) { throw BIMcollab_LinePINVOKE.SWIGPendingException.Retrieve(); } }
public override void Dispose() { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; BIMcollab_LinePINVOKE.delete_BC_Line(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); base.Dispose(); } }
internal BC_Line(global::System.IntPtr cPtr, bool cMemoryOwn) : base(BIMcollab_LinePINVOKE.BC_Line_SWIGUpcast(cPtr), cMemoryOwn) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); }