Constructors
Properties
Methods
AddToRhino
#Adds the first 3 dimensions of this tree to Rhino. This is for debugging purposes.
Returns: List of objects ids that were added.
Find
#Find the closest point.
public int Find()
location,
Location to search from.
minimumQuadrance,
Points whose quadrance is less than this value will be omitted from the search.
maximumQuadrance,
Points whose quadrance is greater than this value will be omitted from the search.
indexFilter
Optional collection of indices to ignore during the search.
Returns: Index to closest point.
FindMultiple
#Find the element(s) closest to a search point.
public KdTreeSearchResults FindMultiple()
location,
Search location.
maximumCount,
Maximum number of points to include in the result.
minimumQuadrance,
Points whose quadrance is less than this value will be omitted from the search.
maximumQuadrance,
Points whose quadrance is greater than this value will be omitted from the search.
indexFilter
Collection of indices to omit from the search.
Returns: Search results.
FindMultiple
#Find the element(s) closest to a search point.
public KdTreeSearchResults FindMultiple()
location,
Search location.
maximumCount,
Maximum number of points to include in the result.
minimumQuadrance,
Points whose quadrance is less than this value will be omitted from the search.
maximumQuadrance
Points whose quadrance is greater than this value will be omitted from the search.
Returns: Search results.
FindMultiple
#Find the element(s) closest to a search point.
Returns: Search results.
LeafMeans
#Return all leaf means.
Returns: Sorted collection of leaf means.
MergeLeaves
#Reduce the leaf count of this tree to a specific target.
Returns: Reduced tree.