public Point2d polarPoint(float angle, float dist) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_polarPoint(swigCPtr, angle, dist), true); return ret; }
public override bool setHandlePoint(int index, Point2d pt, float tol) { bool ret = touchvgPINVOKE.MgEllipse_setHandlePoint(swigCPtr, index, Point2d.getCPtr(pt), tol); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public float distanceTo(Point2d pnt) { float ret = touchvgPINVOKE.Point2d_distanceTo(swigCPtr, Point2d.getCPtr(pnt)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void beziersBox(Box2d box, int count, Point2d points) { touchvgPINVOKE.mgnear_beziersBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public Point2d getMidPoint() { Point2d ret = new Point2d(touchvgPINVOKE.MgArc_getMidPoint(swigCPtr), true); return(ret); }
public Point2d subtract(Vector2d vec) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_subtract__SWIG_1(swigCPtr, Vector2d.getCPtr(vec)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static Point2d kOrigin() { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_kOrigin(), false); return ret; }
public Point2d snapPoint(MgMotion sender, Point2d orignPt) { Point2d ret = new Point2d(touchvgPINVOKE.MgCommandDraw_snapPoint__SWIG_3(swigCPtr, MgMotion.getCPtr(sender), Point2d.getCPtr(orignPt)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Point2d endPoint() { Point2d ret = new Point2d(touchvgPINVOKE.MgBaseLines_endPoint(swigCPtr), true); return(ret); }
protected virtual void setStepPoint(int step, Point2d pt) { if (SwigDerivedClassHasMethod("setStepPoint", swigMethodTypes19)) { touchvgPINVOKE.MgCommandDraw_setStepPointSwigExplicitMgCommandDraw(swigCPtr, step, Point2d.getCPtr(pt)); } else { touchvgPINVOKE.MgCommandDraw_setStepPoint(swigCPtr, step, Point2d.getCPtr(pt)); } if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public Point2d snapPoint(MgMotion sender) { Point2d ret = new Point2d(touchvgPINVOKE.MgCommandDraw_snapPoint__SWIG_1(swigCPtr, MgMotion.getCPtr(sender)), true); return(ret); }
public bool setTanStartEnd(Vector2d startTan, Point2d start, Point2d end) { bool ret = touchvgPINVOKE.MgArc_setTanStartEnd(swigCPtr, Vector2d.getCPtr(startTan), Point2d.getCPtr(start), Point2d.getCPtr(end)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool setCenterStartEnd(Point2d center, Point2d start, Point2d end) { bool ret = touchvgPINVOKE.MgArc_setCenterStartEnd__SWIG_1(swigCPtr, Point2d.getCPtr(center), Point2d.getCPtr(start), Point2d.getCPtr(end)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool setStartMidEnd(Point2d start, Point2d point, Point2d end) { bool ret = touchvgPINVOKE.MgArc_setStartMidEnd(swigCPtr, Point2d.getCPtr(start), Point2d.getCPtr(point), Point2d.getCPtr(end)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Point2d scaleBy(float s) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_scaleBy__SWIG_1(swigCPtr, s), false); return ret; }
public virtual bool insertPoint(int segment, Point2d pt) { bool ret = (SwigDerivedClassHasMethod("insertPoint", swigMethodTypes35) ? touchvgPINVOKE.MgBaseLines_insertPointSwigExplicitMgBaseLines(swigCPtr, segment, Point2d.getCPtr(pt)) : touchvgPINVOKE.MgBaseLines_insertPoint(swigCPtr, segment, Point2d.getCPtr(pt))); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Point2d set(Point2d pnt) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_set__SWIG_1(swigCPtr, Point2d.getCPtr(pnt)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual Point2d getPoint(int index) { Point2d ret = new Point2d(touchvgPINVOKE.MgBaseShape_getPoint(swigCPtr, index), true); return(ret); }
internal static HandleRef getCPtr(Point2d obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public float hitTest2(Point2d pt, float tol, Point2d nearpt) { float ret = touchvgPINVOKE.MgBaseShape_hitTest2(swigCPtr, Point2d.getCPtr(pt), tol, Point2d.getCPtr(nearpt)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void moveRectHandle(Box2d rect, int index, Point2d pt) { touchvgPINVOKE.mgnear_moveRectHandle__SWIG_1(Box2d.getCPtr(rect), index, Point2d.getCPtr(pt)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public virtual Point2d getHandlePoint(int index) { Point2d ret = new Point2d((SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes27) ? touchvgPINVOKE.MgBaseShape_getHandlePointSwigExplicitMgBaseShape(swigCPtr, index) : touchvgPINVOKE.MgBaseShape_getHandlePoint(swigCPtr, index)), true); return(ret); }
public static void cubicSplinesBox(Box2d box, int n, Point2d knots, Vector2d knotvs) { touchvgPINVOKE.mgnear_cubicSplinesBox__SWIG_2(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public virtual bool setHandlePoint(int index, Point2d pt, float tol) { bool ret = (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes28) ? touchvgPINVOKE.MgBaseShape_setHandlePointSwigExplicitMgBaseShape(swigCPtr, index, Point2d.getCPtr(pt), tol) : touchvgPINVOKE.MgBaseShape_setHandlePoint(swigCPtr, index, Point2d.getCPtr(pt), tol)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override float hitTest(Point2d pt, float tol, MgHitResult res) { float ret = touchvgPINVOKE.MgEllipse_hitTest(swigCPtr, Point2d.getCPtr(pt), tol, MgHitResult.getCPtr(res)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
private IntPtr SwigDirectorgetHandlePoint(int index) { return(Point2d.getCPtr(getHandlePoint(index)).Handle); }
public override void setPoint(int index, Point2d pt) { touchvgPINVOKE.MgEllipse_setPoint(swigCPtr, index, Point2d.getCPtr(pt)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public static bool cubicSplinesIntersectBox(Box2d box, int n, Point2d knots, Vector2d knotvs) { bool ret = touchvgPINVOKE.mgnear_cubicSplinesIntersectBox__SWIG_2(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool isEqualTo(Point2d pnt) { bool ret = touchvgPINVOKE.Point2d_isEqualTo__SWIG_1(swigCPtr, Point2d.getCPtr(pnt)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static float nearestOnBezier(Point2d pt, Point2d pts, Point2d nearpt) { float ret = touchvgPINVOKE.mgnear_nearestOnBezier(Point2d.getCPtr(pt), Point2d.getCPtr(pts), Point2d.getCPtr(nearpt)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Point2d rulerPoint(Point2d dir, float xoff, float yoff) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_rulerPoint__SWIG_1(swigCPtr, Point2d.getCPtr(dir), xoff, yoff), true); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static bool beziersIntersectBox(Box2d box, int count, Point2d points) { bool ret = touchvgPINVOKE.mgnear_beziersIntersectBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Point2d set(float xx, float yy) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_set__SWIG_0(swigCPtr, xx, yy), false); return ret; }
public BoundBox extend(Point2d pnt) { BoundBox ret = new BoundBox(touchvgPINVOKE.BoundBox_extend(swigCPtr, Point2d.getCPtr(pnt)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d subtract(Point2d pnt) { Vector2d ret = new Vector2d(touchvgPINVOKE.Point2d_subtract__SWIG_0(swigCPtr, Point2d.getCPtr(pnt)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool contains(Point2d pnt) { bool ret = touchvgPINVOKE.BoundBox_contains(swigCPtr, Point2d.getCPtr(pnt)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Point2d transform(Matrix2d m) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_transform(swigCPtr, Matrix2d.getCPtr(m)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Point2d getCenter() { Point2d ret = new Point2d(touchvgPINVOKE.MgBaseRect_getCenter(swigCPtr), true); return ret; }
public Point2d(Point2d src) : this(touchvgPINVOKE.new_Point2d__SWIG_2(Point2d.getCPtr(src)), true) { if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public void setRectWithAngle(Point2d pt1, Point2d pt2, float angle, Point2d basept) { touchvgPINVOKE.MgBaseRect_setRectWithAngle(swigCPtr, Point2d.getCPtr(pt1), Point2d.getCPtr(pt2), angle, Point2d.getCPtr(basept)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public Point2d add(Point2d pnt) { Point2d ret = new Point2d(touchvgPINVOKE.Point2d_add(swigCPtr, Point2d.getCPtr(pnt)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void setRect4P(Point2d points) { touchvgPINVOKE.MgBaseRect_setRect4P(swigCPtr, Point2d.getCPtr(points)); }
public static float nearestOnBezier(Point2d pt, Point2d pts, Point2d nearpt) { float ret = touchvgPINVOKE.mgnear_nearestOnBezier(Point2d.getCPtr(pt), Point2d.getCPtr(pts), Point2d.getCPtr(nearpt)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void setCenter(Point2d pt) { touchvgPINVOKE.MgBaseRect_setCenter(swigCPtr, Point2d.getCPtr(pt)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public static bool beziersIntersectBox(Box2d box, int count, Point2d points) { bool ret = touchvgPINVOKE.mgnear_beziersIntersectBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public override Point2d getPoint(int index) { Point2d ret = new Point2d(touchvgPINVOKE.MgEllipse_getPoint(swigCPtr, index), true); return ret; }
public static bool cubicSplinesIntersectBox(Box2d box, int n, Point2d knots, Vector2d knotvs, bool closed) { bool ret = touchvgPINVOKE.mgnear_cubicSplinesIntersectBox__SWIG_1(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), closed); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public override Point2d getHandlePoint(int index) { Point2d ret = new Point2d(touchvgPINVOKE.MgArc_getHandlePoint(swigCPtr, index), true); return(ret); }