Index3d<T>

References
[DebuggerDisplay("Global:{GlobalIndex} Local:{LocalIndex} ({Item})")] public class Index3d<T> : IComparable<Index3d<T>>
Represents an element index within a Tree3d instance.
T

Constructors

Index3d

#
public Index3d(Node3d<T> node, int nodeIndex)
node (Node3d<T>)
nodeIndex (int)

Properties

GlobalIndex

#
public int GlobalIndex { get; }
Gets the item index within the tree global list.

Item

#
public T Item { get; }
Gets the actual item.

LocalIndex

#
public int LocalIndex { get; }
Gets the index within the node index list.

Node

#
public Node3d<T> Node { get; }
Gets the node of the tree in which this element is stored.

Methods

CompareTo

#
public int CompareTo(Index3d<T> other)
other (Index3d<T>)