public unsafe static bool Closest(this VoronoiSimplexSolver obj, out OpenTK.Vector3 v)
		{
			fixed (OpenTK.Vector3* vPtr = &v)
			{
                return obj.Closest(out *(BulletSharp.Math.Vector3*)vPtr);
			}
		}
Exemplo n.º 2
0
        public static jQueryValidator GetValidator(this jQueryObject element)
        {
            var form = element.Closest("form");
            if (form.Length == 0)
                return null;

            return (jQueryValidator)form.GetDataValue("validator");
        }
Exemplo n.º 3
0
 internal static Line Closest(this Point self, Line l1, Line l2, Line l3, Line l4)
 {
     return self.Closest(self.Closest(l1, l2), self.Closest(l3, l4));
 }
Exemplo n.º 4
0
 internal static Point Closest(this Point self, Point p1, Point p2, Point p3, Point p4)
 {
     return self.Closest(self.Closest(p1, p2), self.Closest(p3, p4));
 }
Exemplo n.º 5
0
 public static jQueryObject DialogFlexify(this jQueryObject dialog)
 {
     var flexify = new Flexify(dialog.Closest(".ui-dialog"), new FlexifyOptions { });
     return dialog;
 }