RTreeEventArgs

EventArgsReferences
public class RTreeEventArgs : EventArgs
Represents event data that is passed when an item that meets certain criteria is found and the passed RTree event is raised.

Properties

Cancel

#Since v5.0
public bool Cancel { get; set; }
Gets or sets a value that determines if the search should be conducted farther.

Id

#Since v5.0
public int Id { get; }
Gets the identifier of the found item.
OverflowExceptionIf, on 64-bit platforms, the value of this instance is too large or too small to be represented as a 32-bit signed integer.

IdB

#Since v5.0
public int IdB { get; }
If search is using two r-trees, IdB is element b in the search.

IdBPtr

#Since v5.0
public nint IdBPtr { get; }
If search is using two r-trees, IdB is the element b pointer in the search.

IdPtr

#Since v5.0
public nint IdPtr { get; }
Gets the identifier pointer of the found item.

SearchBoundingBox

#Since v5.0
public BoundingBox SearchBoundingBox { get; set; }
Bounding box bounds used during a search. You may modify the box in a search callback to help reduce the bounds to search.

SearchSphere

#Since v5.0
public Sphere SearchSphere { get; set; }
Sphere bounds used during a search. You can modify the sphere in a search callback to help reduce the bounds to search.

Tag

#Since v5.0
public object Tag { get; set; }
Gets or sets an arbitrary object that can be attached to this event args. This object will "stick" through a single search and can represent user-defined state.