Class K2dTreeNode<T>
2-dimensional tree node (for K2DTree<T>
suitable for most of spatial environment
Inheritance
System.Object
Mars.Common.Core.Collections.SimpleTree.BinaryNode
Mars.Common.Core.Collections.SimpleTree.BinaryNode<K2dTreeNode<T>>
K2dTreeNode<T>
Inherited Members
Mars.Common.Core.Collections.SimpleTree.BinaryNode<Mars.Common.Collections.K2dTreeNode<T>>.Left
Mars.Common.Core.Collections.SimpleTree.BinaryNode<Mars.Common.Collections.K2dTreeNode<T>>.Right
Mars.Common.Core.Collections.SimpleTree.BinaryNode<Mars.Common.Collections.K2dTreeNode<T>>.IsLeaf
Mars.Common.Core.Collections.SimpleTree.BinaryNode.NodeId
Mars.Common.Core.Collections.SimpleTree.BinaryNode.GetHashCode()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Mars.Common.Collections
Assembly: Mars.Common.dll
Syntax
[Serializable]
public class K2dTreeNode<T> : KdTreeNodeBase<K2dTreeNode<T>>, IComparable<K2dTreeNode<T>>, IEquatable<K2dTreeNode<T>>, IVectorNode<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
| Improve this Doc View SourceNodePosition
Gets or sets the 2-dimensional spatial position
managed by the common Position class.
Declaration
[JsonProperty("nodePosition", NullValueHandling = NullValueHandling.Ignore)]
public Position NodePosition { get; set; }
Property Value
Type | Description |
---|---|
Position |
Value
Gets or sets the value being stored at this node.
Declaration
[JsonProperty("value", NullValueHandling = NullValueHandling.Ignore)]
public T Value { get; set; }
Property Value
Type | Description |
---|---|
T |
Implements
System.IComparable<T>
System.IEquatable<T>