Ejemplo n.º 1
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;
 }
Ejemplo n.º 2
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;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
Archivo: Box2d.cs Proyecto: rhcad/vgwpf
 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;
 }
Ejemplo n.º 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Tol obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 6
0
Archivo: Tol.cs Proyecto: rhcad/vgwpf
 public static Tol minTol()
 {
     Tol ret = new Tol(touchvgPINVOKE.Tol_minTol(), true);
     return ret;
 }
Ejemplo n.º 7
0
Archivo: Box2d.cs Proyecto: rhcad/vgwpf
 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;
 }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo n.º 10
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);
        }
Ejemplo n.º 11
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);
        }
Ejemplo n.º 12
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);
        }
Ejemplo n.º 13
0
        public static Tol minTol()
        {
            Tol ret = new Tol(touchvgPINVOKE.MgBaseShape_minTol(), false);

            return(ret);
        }
Ejemplo n.º 14
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);
        }
Ejemplo n.º 15
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;
 }
Ejemplo 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);
        }
Ejemplo n.º 17
0
Archivo: Tol.cs Proyecto: rhcad/vgwpf
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Tol obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 18
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);
        }
Ejemplo n.º 19
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);
        }
Ejemplo n.º 20
0
        public static Tol minTol()
        {
            Tol ret = new Tol(touchvgPINVOKE.Tol_minTol(), true);

            return(ret);
        }
Ejemplo n.º 21
0
Archivo: Box2d.cs Proyecto: rhcad/vgwpf
 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;
 }
Ejemplo n.º 22
0
 public static Tol minTol()
 {
     Tol ret = new Tol(touchvgPINVOKE.MgBaseShape_minTol(), false);
     return ret;
 }
Ejemplo n.º 23
0
Archivo: Box2d.cs Proyecto: rhcad/vgwpf
 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;
 }
Ejemplo n.º 24
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;
 }
Ejemplo n.º 25
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;
 }
Ejemplo 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;
 }