Class Node<T>
Represents a node of a Quadtree
. Nodes contain
items which have a spatial extent corresponding to the node's position
in the quadtree.
Assembly: NetTopologySuite.dll
Syntax
[Serializable]
public class Node<T> : NodeBase<T>
Type Parameters
Constructors
|
Edit this page
View Source
Node(Envelope, int)
Declaration
public Node(Envelope env, int level)
Parameters
Properties
|
Edit this page
View Source
Envelope
Declaration
public Envelope Envelope { get; }
Property Value
|
Edit this page
View Source
Level
Gets a value indicating the level of this node
Declaration
public int Level { get; }
Property Value
Type |
Description |
int |
The level of this node
|
Methods
|
Edit this page
View Source
CreateExpanded(Node<T>, Envelope)
Declaration
public static Node<T> CreateExpanded(Node<T> node, Envelope addEnv)
Parameters
Returns
|
Edit this page
View Source
CreateNode(Envelope)
Declaration
public static Node<T> CreateNode(Envelope env)
Parameters
Returns
|
Edit this page
View Source
Find(Envelope)
Returns the smallest existing
node containing the envelope.
Declaration
public NodeBase<T> Find(Envelope searchEnv)
Parameters
Type |
Name |
Description |
Envelope |
searchEnv |
|
Returns
|
Edit this page
View Source
GetNode(Envelope)
Returns the subquad containing the envelope searchEnv
.
Creates the subquad if
it does not already exist.
Declaration
public Node<T> GetNode(Envelope searchEnv)
Parameters
Type |
Name |
Description |
Envelope |
searchEnv |
The envelope to search for
|
Returns
Type |
Description |
Node<T> |
The subquad containing the search envelope.
|
|
Edit this page
View Source
InsertNode(Node<T>)
Declaration
public void InsertNode(Node<T> node)
Parameters
Type |
Name |
Description |
Node<T> |
node |
|
|
Edit this page
View Source
IsSearchMatch(Envelope)
Declaration
protected override bool IsSearchMatch(Envelope searchEnv)
Parameters
Type |
Name |
Description |
Envelope |
searchEnv |
|
Returns
Overrides