public Vector2d setAngleLength(float angle, float len) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_setAngleLength(swigCPtr, angle, len), false); return ret; }
public Vector2d transform(Matrix2d m) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_transform(swigCPtr, Matrix2d.getCPtr(m)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d scaleBy(float s) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_scaleBy__SWIG_1(swigCPtr, s), false); return ret; }
public Vector2d set(float xx, float yy) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_set__SWIG_0(swigCPtr, xx, yy), false); 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 Vector2d scaleBy(float s) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_scaleBy__SWIG_1(swigCPtr, s), false); return(ret); }
public Vector2d setLength(float newLength) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_setLength(swigCPtr, newLength), false); return(ret); }
public override bool offset(Vector2d vec, int segment) { bool ret = touchvgPINVOKE.MgEllipse_offset(swigCPtr, Vector2d.getCPtr(vec), segment); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d set(Vector2d v) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_set__SWIG_1(swigCPtr, Vector2d.getCPtr(v)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Vector2d setAngleLength(float angle, float len) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_setAngleLength(swigCPtr, angle, len), false); return(ret); }
public Vector2d set(float xx, float yy) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_set__SWIG_0(swigCPtr, xx, yy), false); return(ret); }
public Vector2d unitVector() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_unitVector(swigCPtr), true); return(ret); }
internal static HandleRef getCPtr(Vector2d obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtr(Vector2d obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public Vector2d scaledVector(float newLength) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_scaledVector(swigCPtr, newLength), true); return(ret); }
public static Vector2d kYAxis() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_kYAxis(), false); 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 void offset(Vector2d vec) { touchvgPINVOKE.Point2d_offset__SWIG_1(swigCPtr, Vector2d.getCPtr(vec)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
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 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 static Vector2d kIdentity() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_kIdentity(), false); return(ret); }
public Vector2d(Vector2d src) : this(touchvgPINVOKE.new_Vector2d__SWIG_2(Vector2d.getCPtr(src)), true) { if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }
public static Vector2d kYAxis() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_kYAxis(), false); return(ret); }
public Vector2d scaledVector(float newLength) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_scaledVector(swigCPtr, newLength), true); return ret; }
public BoundBox set(Point2d arg0, Vector2d dir1, Vector2d dir2) { BoundBox ret = new BoundBox(touchvgPINVOKE.BoundBox_set__SWIG_1(swigCPtr, Point2d.getCPtr(arg0), Vector2d.getCPtr(dir1), Vector2d.getCPtr(dir2)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d set(Vector2d v) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_set__SWIG_1(swigCPtr, Vector2d.getCPtr(v)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public float dotProduct(Vector2d v) { float ret = touchvgPINVOKE.Vector2d_dotProduct(swigCPtr, Vector2d.getCPtr(v)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d setLength(float newLength) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_setLength(swigCPtr, newLength), false); return ret; }
public bool isParallelTo(Vector2d vec, Tol tol) { bool ret = touchvgPINVOKE.Vector2d_isParallelTo__SWIG_0(swigCPtr, Vector2d.getCPtr(vec), Tol.getCPtr(tol)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d unitVector() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_unitVector(swigCPtr), true); 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 static Vector2d kIdentity() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_kIdentity(), false); 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 Vector2d add(Vector2d v) { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_add(swigCPtr, Vector2d.getCPtr(v)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d negate() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_negate(swigCPtr), false); return ret; }
public Vector2d negate() { Vector2d ret = new Vector2d(touchvgPINVOKE.Point2d_negate(swigCPtr), true); 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 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 float projectScaleToVector(Vector2d xAxis) { float ret = touchvgPINVOKE.Vector2d_projectScaleToVector(swigCPtr, Vector2d.getCPtr(xAxis)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Vector2d asVector() { Vector2d ret = new Vector2d(touchvgPINVOKE.Point2d_asVector(swigCPtr), true); 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 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 Vector2d negate() { Vector2d ret = new Vector2d(touchvgPINVOKE.Vector2d_negate(swigCPtr), false); return(ret); }