-
Notifications
You must be signed in to change notification settings - Fork 32
API Reference
imbcmdth edited this page Sep 13, 2010
·
31 revisions
max_node_width : optional : The maximum width of a node before a split is forced. Defaults to 6.
A new and empty RTree object.
var myRTree = new RTree(10); // Makes a new RTree with a max node width of 10.
area_to_search : required : An area to search within.
The number of objects that overlap or touch area_to_search.
var myCount = myRTree.count({x:10, y:10, w:10, h:10}); // searches a 10×10 area that starts at position 10×10.
RTree.search
RTree.insert
RTree.remove