Inheritance: IDisposable
Esempio n. 1
0
        public static Tol minTol()
        {
            Tol ret = new Tol(touchvgPINVOKE.Tol_minTol(), false);

            return(ret);
        }
Esempio n. 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);
        }
Esempio n. 3
0
 internal static HandleRef getCPtr(Tol obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 10
0
        public static Tol minTol()
        {
            Tol ret = new Tol(touchvgPINVOKE.MgBaseShape_minTol(), false);

            return(ret);
        }
Esempio n. 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);
        }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 15
0
 internal static HandleRef getCPtr(Tol obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 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);
        }
Esempio n. 17
0
 public static Tol minTol() {
   Tol ret = new Tol(touchvgPINVOKE.Tol_minTol(), false);
   return ret;
 }
Esempio n. 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);
        }
Esempio n. 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;
 }
Esempio n. 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);
        }
Esempio n. 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;
 }
Esempio n. 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);
        }
Esempio n. 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;
 }
Esempio n. 24
0
 public static Tol minTol()
 {
     Tol ret = new Tol(touchvgPINVOKE.MgBaseShape_minTol(), false);
     return ret;
 }
Esempio n. 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;
 }
Esempio n. 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);
        }