Search Results for

    Show / Hide Table of Contents

    Class KdTreeExtensions

    Extensions methods for the KdTree<T>.

    Inheritance
    object
    KdTreeExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Index.KdTree
    Assembly: NetTopologySuite.dll
    Syntax
    public static class KdTreeExtensions

    Methods

    | Edit this page View Source

    NearestNeighbor<T>(KdTree<T>, Coordinate)

    Performs a nearest neighbor search of the points in the index.

    Declaration
    public static KdNode<T> NearestNeighbor<T>(this KdTree<T> self, Coordinate coord) where T : class
    Parameters
    Type Name Description
    KdTree<T> self

    The KdTree to look for the nearest neighbor

    Coordinate coord

    The point to search the nearset neighbor for

    Returns
    Type Description
    KdNode<T>
    Type Parameters
    Name Description
    T
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX