private QuadTree(NodeCalculateCall x, NodeCalculateCall y, double x0, double y0, double x1, double y1) { this.xCall = x; this.yCall = y; this.tlX = x0; this.tlY = y0; this.brX = x1; this.brY = y1; }
public static QuadTree Create(NodeInfo[] nodes, NodeCalculateCall x, NodeCalculateCall y) { QuadTree tree = new QuadTree(x, y, Double.NaN, Double.NaN, Double.NaN, Double.NaN); if (nodes != null) { tree.AddAll(nodes); } return(tree); }
public ForceX Strength(NodeCalculateCall c) { strengthCall = c; return(this); }
public ForceX X(NodeCalculateCall c) { xCallback = c; return(this); }
public ForceY SetY(NodeCalculateCall c) { yCall = c; return(this); }
public ForceRadial Rradius(NodeCalculateCall c) { radiusCall = c; return(this); }
public ForceCollide Radius(NodeCalculateCall c) { radius = c; return this; }