Пример #1
0
    protected int GetScreenVolume(MVO_POINTER_SIZED_INT seg, HPoint min, HPoint max)
    {
        int ret = HCSMVOPINVOKE.HOpObjectClash_GetScreenVolume(swigCPtr, seg, HPoint.getCPtr(min), HPoint.getCPtr(max));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #2
0
    public bool GetSnappedWorldPos(HPoint in_out)
    {
        bool ret = HCSMVOPINVOKE.HSnapGrid_GetSnappedWorldPos(swigCPtr, HPoint.getCPtr(in_out));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #3
0
    public bool Create(HPoint origin, HPoint ref1, HPoint ref2)
    {
        bool ret = HCSMVOPINVOKE.HSnapGrid_Create__SWIG_2(swigCPtr, HPoint.getCPtr(origin), HPoint.getCPtr(ref1), HPoint.getCPtr(ref2));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #4
0
    public double ClassifyPoint(HPoint p)
    {
        double ret = HCSMVOPINVOKE.HPlane_ClassifyPoint(swigCPtr, HPoint.getCPtr(p));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #5
0
    public bool CheckHit(HPoint p, HPoint normal, HPoint plist, HPoint pres)
    {
        bool ret = HCSMVOPINVOKE.HMergeShellFace_CheckHit(swigCPtr, HPoint.getCPtr(p), HPoint.getCPtr(normal), HPoint.getCPtr(plist), HPoint.getCPtr(pres));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #6
0
    protected bool ComputeReasonableTarget(HPoint new_tar, HPoint min, HPoint max, HPoint tar_orig)
    {
        bool ret = HCSMVOPINVOKE.HOpCameraZoomBox_ComputeReasonableTarget(swigCPtr, HPoint.getCPtr(new_tar), HPoint.getCPtr(min), HPoint.getCPtr(max), HPoint.getCPtr(tar_orig));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #7
0
    public int AddUnicodeLabel(ushort[] str, HPoint loc)
    {
        int ret = HCSMVOPINVOKE.HBaseGraph_AddUnicodeLabel__SWIG_4(swigCPtr, str, HPoint.getCPtr(loc));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #8
0
    public int AddUnicodeLabel(ushort[] str, HPoint loc, HGraphPointFormat format, float xvector)
    {
        int ret = HCSMVOPINVOKE.HBaseGraph_AddUnicodeLabel__SWIG_2(swigCPtr, str, HPoint.getCPtr(loc), (int)format, xvector);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #9
0
    public int AddLabel(string str, HPoint loc, HGraphPointFormat format)
    {
        int ret = HCSMVOPINVOKE.HBaseGraph_AddLabel__SWIG_3(swigCPtr, str, HPoint.getCPtr(loc), (int)format);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #10
0
    public static bool CreateAxisCircle(HPoint center, float radius, int axis, bool convert)
    {
        bool ret = HCSMVOPINVOKE.HUtility_CreateAxisCircle__SWIG_0(HPoint.getCPtr(center), radius, axis, convert);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #11
0
    public HMergeShellFace FindHitFace(HPoint p, HPoint normal, HPoint plist, HPoint respoint)
    {
        IntPtr          cPtr = HCSMVOPINVOKE.HMergeShellFace_FindHitFace(swigCPtr, HPoint.getCPtr(p), HPoint.getCPtr(normal), HPoint.getCPtr(plist), HPoint.getCPtr(respoint));
        HMergeShellFace ret  = (cPtr == IntPtr.Zero) ? null : new HMergeShellFace(cPtr, false);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #12
0
 public virtual void CreateSquare(HPoint first, HPoint last)
 {
     if (this.GetType() == typeof(HOpConstructCuboid))
     {
         HCSMVOPINVOKE.HOpConstructCuboid_CreateSquare(swigCPtr, HPoint.getCPtr(first), HPoint.getCPtr(last));
     }
     else
     {
         HCSMVOPINVOKE.HOpConstructCuboid_CreateSquareSwigExplicitHOpConstructCuboid(swigCPtr, HPoint.getCPtr(first), HPoint.getCPtr(last));
     }
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #13
0
 public virtual void SetMarkupColor(HPoint markup_color)
 {
     if (this.GetType() == typeof(HMarkupManager))
     {
         HCSMVOPINVOKE.HMarkupManager_SetMarkupColor(swigCPtr, HPoint.getCPtr(markup_color));
     }
     else
     {
         HCSMVOPINVOKE.HMarkupManager_SetMarkupColorSwigExplicitHMarkupManager(swigCPtr, HPoint.getCPtr(markup_color));
     }
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public virtual int ObjectMovedEvent(HBaseView view, MVO_POINTER_SIZED_INT key, HPoint p)
    {
        int ret = ((this.GetType() == typeof(HObjectManipulationListener)) ? HCSMVOPINVOKE.HObjectManipulationListener_ObjectMovedEvent(swigCPtr, HBaseView.getCPtr(view), key, HPoint.getCPtr(p)) : HCSMVOPINVOKE.HObjectManipulationListener_ObjectMovedEventSwigExplicitHObjectManipulationListener(swigCPtr, HBaseView.getCPtr(view), key, HPoint.getCPtr(p)));

        return(ret);
    }
    public virtual int ObjectScaledEvent(HBaseView view, MVO_POINTER_SIZED_INT key, HPoint p)
    {
        int ret = ((this.GetType() == typeof(HObjectManipulationListener)) ? HCSMVOPINVOKE.HObjectManipulationListener_ObjectScaledEvent(swigCPtr, HBaseView.getCPtr(view), key, HPoint.getCPtr(p)) : HCSMVOPINVOKE.HObjectManipulationListener_ObjectScaledEventSwigExplicitHObjectManipulationListener(swigCPtr, HBaseView.getCPtr(view), key, HPoint.getCPtr(p)));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #16
0
    public static float ComputeAngleBetweenVector(HPoint p1, HPoint p2)
    {
        float ret = HCSMVOPINVOKE.HUtility_ComputeAngleBetweenVector(HPoint.getCPtr(p1), HPoint.getCPtr(p2));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #17
0
 public static void CalculateBoundingInfo(MVO_POINTER_SIZED_INT startkey, HPoint min, HPoint max, HPoint delta, HPoint mid)
 {
     HCSMVOPINVOKE.HUtility_CalculateBoundingInfo(startkey, HPoint.getCPtr(min), HPoint.getCPtr(max), HPoint.getCPtr(delta), HPoint.getCPtr(mid));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #18
0
 public static void Order(HPoint one, HPoint two)
 {
     HCSMVOPINVOKE.HUtility_Order(HPoint.getCPtr(one), HPoint.getCPtr(two));
 }
Пример #19
0
 public static void ClampPointToWindow(HPoint point)
 {
     HCSMVOPINVOKE.HUtility_ClampPointToWindow(HPoint.getCPtr(point));
 }
Пример #20
0
 public static void ConvertLocalPixelsToLocalWindow(HBaseView view, HPoint in_system)
 {
     HCSMVOPINVOKE.HUtility_ConvertLocalPixelsToLocalWindow__SWIG_1(HBaseView.getCPtr(view), HPoint.getCPtr(in_system));
 }
Пример #21
0
 public static void InterpolateNormalAlongEdge(HPoint p1, HPoint n1, HPoint p2, HPoint n2, HPoint p3, HPoint n3)
 {
     HCSMVOPINVOKE.HUtility_InterpolateNormalAlongEdge(HPoint.getCPtr(p1), HPoint.getCPtr(n1), HPoint.getCPtr(p2), HPoint.getCPtr(n2), HPoint.getCPtr(p3), HPoint.getCPtr(n3));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #22
0
 public static void GetMatrixFromCamera(HPoint target, HPoint position, HPoint up_vector, HPoint translation, float[] matrix)
 {
     HCSMVOPINVOKE.HUtility_GetMatrixFromCamera(HPoint.getCPtr(target), HPoint.getCPtr(position), HPoint.getCPtr(up_vector), HPoint.getCPtr(translation), matrix);
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #23
0
 public static void GetCameraFromGLFrustum(double left, double right, double bottom, double top, double near_z, double far_z, bool perspective, HPoint pos, HPoint target, HPoint up, System.Text.StringBuilder projection, double[] width, double[] height, double[] near_limit)
 {
     HCSMVOPINVOKE.HUtility_GetCameraFromGLFrustum(left, right, bottom, top, near_z, far_z, perspective, HPoint.getCPtr(pos), HPoint.getCPtr(target), HPoint.getCPtr(up), projection, width, height, near_limit);
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #24
0
 public static void GetCameraFromMatrix(float[] matrix, HPoint target, HPoint position, HPoint up_vector, HPoint translation)
 {
     HCSMVOPINVOKE.HUtility_GetCameraFromMatrix(matrix, HPoint.getCPtr(target), HPoint.getCPtr(position), HPoint.getCPtr(up_vector), HPoint.getCPtr(translation));
 }
Пример #25
0
 public static void ComputeVectorToVectorRotationMatrix(float[] matrix, HPoint v1, HPoint v2)
 {
     HCSMVOPINVOKE.HUtility_ComputeVectorToVectorRotationMatrix(matrix, HPoint.getCPtr(v1), HPoint.getCPtr(v2));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #26
0
 public static void GenerateCuboidPoints(HPoint max, HPoint min, HPoint points)
 {
     HCSMVOPINVOKE.HUtility_GenerateCuboidPoints(HPoint.getCPtr(max), HPoint.getCPtr(min), HPoint.getCPtr(points));
 }
 public override void Interpolate(SWIGTYPE_p_p_HKeyframeChannel posarray, int keyframe, float fraction, int length, HPoint res)
 {
     HCSMVOPINVOKE.HKeyframeChannelFollowPath_Interpolate(swigCPtr, SWIGTYPE_p_p_HKeyframeChannel.getCPtr(posarray), keyframe, fraction, length, HPoint.getCPtr(res));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #28
0
    public static bool PointsEqual(HPoint point1, HPoint point2)
    {
        bool ret = HCSMVOPINVOKE.HUtility_PointsEqual(HPoint.getCPtr(point1), HPoint.getCPtr(point2));

        return(ret);
    }
Пример #29
0
 public static void CreateMarkupFreehand(HBaseView pView, string segment, uint PolyLineLength, HPoint pPolyline, bool emit_message)
 {
     HCSMVOPINVOKE.HOpMarkupFreehand_CreateMarkupFreehand(HBaseView.getCPtr(pView), segment, PolyLineLength, HPoint.getCPtr(pPolyline), emit_message);
 }
Пример #30
0
 public static void SmoothTransition(HPoint co, HPoint to, HPoint uo, float fieldwidtho, float fieldheighto, HPoint cn, HPoint tn, HPoint un, float fieldwidthn, float fieldheightn, HBaseView view)
 {
     HCSMVOPINVOKE.HUtility_SmoothTransition__SWIG_0(HPoint.getCPtr(co), HPoint.getCPtr(to), HPoint.getCPtr(uo), fieldwidtho, fieldheighto, HPoint.getCPtr(cn), HPoint.getCPtr(tn), HPoint.getCPtr(un), fieldwidthn, fieldheightn, HBaseView.getCPtr(view));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }