static private getCPtr ( |
||
obj | ||
return | HandleRef |
public Vector2d(Vector2d src) : this(touchvgPINVOKE.new_Vector2d__SWIG_2(Vector2d.getCPtr(src)), true) { if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public static void fitCubicSpline(int n, Point2d knots, Vector2d knotvs, int i, float t, Point2d fitpt) { touchvgPINVOKE.mgcurv_fitCubicSpline(n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), i, t, Point2d.getCPtr(fitpt)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public void getCoordSystem(Vector2d e0, Vector2d e1, Point2d origin) { touchvgPINVOKE.Matrix2d_getCoordSystem(swigCPtr, Vector2d.getCPtr(e0), Vector2d.getCPtr(e1), Point2d.getCPtr(origin)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public void offset(Vector2d vec) { touchvgPINVOKE.Point2d_offset__SWIG_1(swigCPtr, Vector2d.getCPtr(vec)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public Vector2d subtract(Vector2d v) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_subtract(swigCPtr, Vector2d.getCPtr(v)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static Matrix2d translation(Vector2d vec) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_translation(Vector2d.getCPtr(vec)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static Matrix2d coordSystem(Vector2d e0, Vector2d e1, Point2d origin) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_coordSystem__SWIG_0(Vector2d.getCPtr(e0), Vector2d.getCPtr(e1), Point2d.getCPtr(origin)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool hasMirror(Vector2d reflex) { bool ret = touchvgPINVOKE.Matrix2d_hasMirror(swigCPtr, Vector2d.getCPtr(reflex)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool resolveVector(Vector2d uAxis, Vector2d vAxis) { bool ret = touchvgPINVOKE.Vector2d_resolveVector__SWIG_1(swigCPtr, Vector2d.getCPtr(uAxis), Vector2d.getCPtr(vAxis)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public float projectResolveVector(Vector2d xAxis, Vector2d proj, Vector2d perp) { float ret = touchvgPINVOKE.Vector2d_projectResolveVector(swigCPtr, Vector2d.getCPtr(xAxis), Vector2d.getCPtr(proj), Vector2d.getCPtr(perp)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public float projectScaleToVector(Vector2d xAxis) { float ret = touchvgPINVOKE.Vector2d_projectScaleToVector(swigCPtr, Vector2d.getCPtr(xAxis)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool isPerpendicularTo(Vector2d vec) { bool ret = touchvgPINVOKE.Vector2d_isPerpendicularTo__SWIG_1(swigCPtr, Vector2d.getCPtr(vec)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool isOppositeTo(Vector2d vec, Tol tol) { bool ret = touchvgPINVOKE.Vector2d_isOppositeTo__SWIG_0(swigCPtr, Vector2d.getCPtr(vec), Tol.getCPtr(tol)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool isRightOf(Vector2d vec) { bool ret = touchvgPINVOKE.Vector2d_isRightOf(swigCPtr, Vector2d.getCPtr(vec)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public float angleTo2(Vector2d v) { float ret = touchvgPINVOKE.Vector2d_angleTo2(swigCPtr, Vector2d.getCPtr(v)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override bool offset(Vector2d vec, int segment) { bool ret = touchvgPINVOKE.MgGrid_offset(swigCPtr, Vector2d.getCPtr(vec), segment); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } 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 Box2d offset(Vector2d vec) { Box2d ret = new Box2d(touchvgPINVOKE.Box2d_offset__SWIG_1(swigCPtr, Vector2d.getCPtr(vec)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static Matrix2d mirroring(Point2d pnt, Vector2d dir) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_mirroring__SWIG_2(Point2d.getCPtr(pnt), Vector2d.getCPtr(dir)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static int fitCurve(int knotCount, Point2d knots, Vector2d knotvs, int count, Point2d pts, float tol) { int ret = touchvgPINVOKE.mgcurv_fitCurve(knotCount, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), count, Point2d.getCPtr(pts), tol); return(ret); }
public static void cubicSplineToBezier(int n, Point2d knots, Vector2d knotvs, int i, Point2d points) { touchvgPINVOKE.mgcurv_cubicSplineToBezier__SWIG_1(n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), i, Point2d.getCPtr(points)); }
public Matrix2d setToMirroring(Point2d pnt, Vector2d dir) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_setToMirroring__SWIG_2(swigCPtr, Point2d.getCPtr(pnt), Vector2d.getCPtr(dir)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool cubicSplines(int n, Point2d knots, Vector2d knotvs) { bool ret = touchvgPINVOKE.mgcurv_cubicSplines__SWIG_2(n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs)); return(ret); }
public static bool cubicSplines(int n, Point2d knots, Vector2d knotvs, int flag, float tension) { bool ret = touchvgPINVOKE.mgcurv_cubicSplines__SWIG_0(n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), flag, tension); return(ret); }
public bool drawHermiteSplines(GiContext ctx, int count, Point2d knots, Vector2d knotvs) { bool ret = touchvgPINVOKE.GiGraphics_drawHermiteSplines__SWIG_2(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs)); return(ret); }
public bool drawBeziers(GiContext ctx, int count, Point2d knot, Vector2d knotvs) { bool ret = touchvgPINVOKE.GiGraphics_drawBeziers__SWIG_5(swigCPtr, GiContext.getCPtr(ctx), count, Point2d.getCPtr(knot), Vector2d.getCPtr(knotvs)); 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 virtual bool offset(Vector2d vec, int segment) { bool ret = (SwigDerivedClassHasMethod("offset", swigMethodTypes31) ? touchvgPINVOKE.MgBaseShape_offsetSwigExplicitMgBaseShape(swigCPtr, Vector2d.getCPtr(vec), segment) : touchvgPINVOKE.MgBaseShape_offset(swigCPtr, Vector2d.getCPtr(vec), segment)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void cubicSplinesBox(Box2d box, int n, Point2d knots, Vector2d knotvs, bool closed, bool hermite) { touchvgPINVOKE.mgnear_cubicSplinesBox__SWIG_0(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), closed, hermite); 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); }