Наследование: IDisposable
Пример #1
0
        public static Tol minTol()
        {
            Tol ret = new Tol(touchvgPINVOKE.Tol_minTol(), false);

            return(ret);
        }
Пример #2
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);
        }
Пример #3
0
 internal static HandleRef getCPtr(Tol obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #4
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;
 }
Пример #5
0
 public bool normalize(Tol tol)
 {
     bool ret = touchvgPINVOKE.Vector2d_normalize__SWIG_0(swigCPtr, Tol.getCPtr(tol));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #6
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;
 }
Пример #7
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;
 }
Пример #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);
        }
Пример #9
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);
        }
Пример #10
0
        public static Tol minTol()
        {
            Tol ret = new Tol(touchvgPINVOKE.MgBaseShape_minTol(), false);

            return(ret);
        }
Пример #11
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);
        }
Пример #12
0
 public static bool isBetweenLine2(Point2d a, Point2d b, Point2d pt, Tol tol) {
   bool ret = touchvgPINVOKE.mglnrel_isBetweenLine2(Point2d.getCPtr(a), Point2d.getCPtr(b), Point2d.getCPtr(pt), Tol.getCPtr(tol));
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #13
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;
 }
Пример #14
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;
 }
Пример #15
0
 internal static HandleRef getCPtr(Tol obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #16
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);
        }
Пример #17
0
 public static Tol minTol() {
   Tol ret = new Tol(touchvgPINVOKE.Tol_minTol(), false);
   return ret;
 }
Пример #18
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);
        }
Пример #19
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;
 }
Пример #20
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);
        }
Пример #21
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;
 }
Пример #22
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);
        }
Пример #23
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;
 }
Пример #24
0
 public static Tol minTol()
 {
     Tol ret = new Tol(touchvgPINVOKE.MgBaseShape_minTol(), false);
     return ret;
 }
Пример #25
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;
 }
Пример #26
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);
        }