コード例 #1
0
    public BC_Line CreateLine(BC_3DPoint startPoint, BC_3DPoint endPoint)
    {
        global::System.IntPtr cPtr = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_CreateLine__SWIG_1(swigCPtr, BC_3DPoint.getCPtr(startPoint), BC_3DPoint.getCPtr(endPoint));
        BC_Line ret = (cPtr == global::System.IntPtr.Zero) ? null : new BC_Line(cPtr, false);

        if (BIMcollab_ViewPointPINVOKE.SWIGPendingException.Pending)
        {
            throw BIMcollab_ViewPointPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }