private float SwigDirectorhitTest(IntPtr pt, float tol, IntPtr res) { return hitTest(new Point2d(pt, false), tol, new MgHitResult(res, false)); }