Class NodeDataContainer<T>
This class provides the data transfer container for a kd-tree node with its left and right side children.
Inheritance
System.Object
NodeDataContainer<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.Collections
Assembly: Mars.Common.dll
Syntax
[Serializable]
[MessagePackObject(false)]
public class NodeDataContainer<T>
Type Parameters
Name | Description |
---|---|
T | The concrete data type stored in this node. |
Properties
| Improve this Doc View SourceAxis
This class provides the data transfer container for a kd-tree node with its left and right side children.
Declaration
[Key(1)]
public int Axis { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LeftNode
This class provides the data transfer container for a kd-tree node with its left and right side children.
Declaration
[Key(2)]
public int LeftNode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NodeId
This class provides the data transfer container for a kd-tree node with its left and right side children.
Declaration
[Key(0)]
public int NodeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Position
This class provides the data transfer container for a kd-tree node with its left and right side children.
Declaration
[Key(4)]
public double[] Position { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] |
RightNode
This class provides the data transfer container for a kd-tree node with its left and right side children.
Declaration
[Key(3)]
public int RightNode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Value
This class provides the data transfer container for a kd-tree node with its left and right side children.
Declaration
[Key(5)]
public T Value { get; set; }
Property Value
Type | Description |
---|---|
T |