Example #1
0
    public BC_ClippingPlane CreateClippingPlane(BC_3DPoint direction, BC_3DPoint location)
    {
        global::System.IntPtr cPtr = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_CreateClippingPlane__SWIG_1(swigCPtr, BC_3DPoint.getCPtr(direction), BC_3DPoint.getCPtr(location));
        BC_ClippingPlane      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BC_ClippingPlane(cPtr, false);

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