Delegate OctTree<T>.SplitTestFunction
- Namespace
- CADability
- Assembly
- CADability.dll
Delegate definition of a criterion whether a node should be split when an object is added to it. When provided to the constructor it replaces the default criterion of SplitNode(Node<T>, T).
public delegate bool OctTree<T>.SplitTestFunction(OctTree<T>.Node<T> node, T objectToAdd)
Parameters
Returns
- bool
true, if the node should be splitted, false otherwise
Constructors
SplitTestFunction(object, nint)
public SplitTestFunction(object @object, nint method)
Parameters
Methods
BeginInvoke(Node<T>, T, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(OctTree<T>.Node<T> node, T objectToAdd, AsyncCallback callback, object @object)
Parameters
nodeOctTree<T>.Node<T>objectToAddTcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(Node<T>, T)
public virtual bool Invoke(OctTree<T>.Node<T> node, T objectToAdd)