getCPtr() static private method

static private getCPtr ( Tol obj ) : HandleRef
obj Tol
return System.Runtime.InteropServices.HandleRef
Example #1
0
        public bool isEmptyMinus(Tol tol)
        {
            bool ret = touchvgPINVOKE.Box2d_isEmptyMinus__SWIG_0(swigCPtr, Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #2
0
        public bool isZeroVector(Tol tol)
        {
            bool ret = touchvgPINVOKE.Vector2d_isZeroVector__SWIG_0(swigCPtr, Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public bool isEqualTo(Box2d box, Tol tol)
        {
            bool ret = touchvgPINVOKE.Box2d_isEqualTo__SWIG_0(swigCPtr, Box2d.getCPtr(box), Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        public bool contains(Box2d box, Tol tol)
        {
            bool ret = touchvgPINVOKE.Box2d_contains__SWIG_3(swigCPtr, Box2d.getCPtr(box), Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public bool contains(Point2d pt, Tol tol)
        {
            bool ret = touchvgPINVOKE.Box2d_contains__SWIG_1(swigCPtr, Point2d.getCPtr(pt), Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
        public static bool isLeftOn2(Point2d a, Point2d b, Point2d pt, Tol tol)
        {
            bool ret = touchvgPINVOKE.mglnrel_isLeftOn2(Point2d.getCPtr(a), Point2d.getCPtr(b), Point2d.getCPtr(pt), Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public static bool cross2Line(Point2d a, Point2d b, Point2d c, Point2d d, Point2d ptCross, Tol tolVec)
        {
            bool ret = touchvgPINVOKE.mglnrel_cross2Line__SWIG_0(Point2d.getCPtr(a), Point2d.getCPtr(b), Point2d.getCPtr(c), Point2d.getCPtr(d), Point2d.getCPtr(ptCross), Tol.getCPtr(tolVec));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public static bool crossLineAbc(float a1, float b1, float c1, float a2, float b2, float c2, Point2d ptCross, Tol tolVec)
        {
            bool ret = touchvgPINVOKE.mglnrel_crossLineAbc__SWIG_0(a1, b1, c1, a2, b2, c2, Point2d.getCPtr(ptCross), Tol.getCPtr(tolVec));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
        public bool isEqualTo(Point2d pnt, Tol tol)
        {
            bool ret = touchvgPINVOKE.Point2d_isEqualTo__SWIG_0(swigCPtr, Point2d.getCPtr(pnt), Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
        public bool isEqualTo(Matrix2d mat, Tol tol)
        {
            bool ret = touchvgPINVOKE.Matrix2d_isEqualTo__SWIG_0(swigCPtr, Matrix2d.getCPtr(mat), Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #11
0
        public bool isPerpendicularTo(Vector2d vec, Tol tol)
        {
            bool ret = touchvgPINVOKE.Vector2d_isPerpendicularTo__SWIG_0(swigCPtr, Vector2d.getCPtr(vec), Tol.getCPtr(tol));

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