示例#1
0
    public BC_ClippingPlane CreateClippingPlane()
    {
        global::System.IntPtr cPtr = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_CreateClippingPlane__SWIG_0(swigCPtr);
        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);
    }
示例#2
0
    public BC_Component CreateComponent(string ifcGlobalId, string color, bool selected, bool visible)
    {
        global::System.IntPtr cPtr = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_CreateComponent(swigCPtr, ifcGlobalId, color, selected, visible);
        BC_Component          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BC_Component(cPtr, false);

        if (BIMcollab_ViewPointPINVOKE.SWIGPendingException.Pending)
        {
            throw BIMcollab_ViewPointPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#3
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);
    }
示例#4
0
    public BC_ClippingPlane GetClippingPlaneByIndex(uint idx)
    {
        global::System.IntPtr cPtr = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetClippingPlaneByIndex(swigCPtr, idx);
        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);
    }
示例#5
0
    public BC_Component FindComponent(string componentGuid)
    {
        global::System.IntPtr cPtr = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_FindComponent(swigCPtr, componentGuid);
        BC_Component          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BC_Component(cPtr, false);

        if (BIMcollab_ViewPointPINVOKE.SWIGPendingException.Pending)
        {
            throw BIMcollab_ViewPointPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#6
0
 public override void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 BIMcollab_ViewPointPINVOKE.delete_BC_ViewPoint(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
         base.Dispose();
     }
 }
示例#7
0
    public uint GetNumberOfClippingPlanes()
    {
        uint ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetNumberOfClippingPlanes(swigCPtr);

        return(ret);
    }
示例#8
0
    public BC_2DPoint GetDrawingViewportViewRightBottom()
    {
        BC_2DPoint ret = new BC_2DPoint(BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetDrawingViewportViewRightBottom(swigCPtr), true);

        return(ret);
    }
示例#9
0
    public bool HasSnapShot()
    {
        bool ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_HasSnapShot(swigCPtr);

        return(ret);
    }
示例#10
0
    public uint GetDrawingViewportViewID2()
    {
        uint ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetDrawingViewportViewID2(swigCPtr);

        return(ret);
    }
示例#11
0
 internal BC_ViewPoint(global::System.IntPtr cPtr, bool cMemoryOwn) : base(BIMcollab_ViewPointPINVOKE.BC_ViewPoint_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
示例#12
0
    public string GetGuid()
    {
        string ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetGuid(swigCPtr);

        return(ret);
    }
示例#13
0
    public BC_3DPoint GetPerspectiveCameraViewPoint()
    {
        BC_3DPoint ret = new BC_3DPoint(BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetPerspectiveCameraViewPoint(swigCPtr), true);

        return(ret);
    }
示例#14
0
    public double GetOrthogonalCameraViewToWorldScale()
    {
        double ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetOrthogonalCameraViewToWorldScale(swigCPtr);

        return(ret);
    }
示例#15
0
    public BC_3DPoint GetOrthogonalCameraViewPoint()
    {
        BC_3DPoint ret = new BC_3DPoint(BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetOrthogonalCameraViewPoint(swigCPtr), true);

        return(ret);
    }
示例#16
0
    public uint GetProjectionType()
    {
        uint ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetProjectionType(swigCPtr);

        return(ret);
    }
示例#17
0
    public uint GetNumberOfComponentsInSource()
    {
        uint ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetNumberOfComponentsInSource(swigCPtr);

        return(ret);
    }
示例#18
0
    public double GetPerspectiveCameraFieldOfView()
    {
        double ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetPerspectiveCameraFieldOfView(swigCPtr);

        return(ret);
    }
示例#19
0
 public void SetMaxNumberOfComponents(uint maxNumberOfComponents)
 {
     BIMcollab_ViewPointPINVOKE.BC_ViewPoint_SetMaxNumberOfComponents(swigCPtr, maxNumberOfComponents);
 }
示例#20
0
 public BC_ViewPoint() : this(BIMcollab_ViewPointPINVOKE.new_BC_ViewPoint(), true)
 {
 }
示例#21
0
    public BC_3DPoint GetBitmapUpVectorLocation()
    {
        BC_3DPoint ret = new BC_3DPoint(BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetBitmapUpVectorLocation(swigCPtr), true);

        return(ret);
    }
示例#22
0
    public bool IsSetNumberOfComponentsToRetrieve()
    {
        bool ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_IsSetNumberOfComponentsToRetrieve(swigCPtr);

        return(ret);
    }
示例#23
0
    public string GetDrawingViewportViewName()
    {
        string ret = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_GetDrawingViewportViewName(swigCPtr);

        return(ret);
    }