KdTreeSearch Derived Type

type, public :: KdTreeSearch

Class to search a KdTree. See m_KdTree for more information on how to use this class.



Type-Bound Procedures

generic, public :: nearest => nearest2D, nearest3D, nearestKD

KdTreeSearch%nearest() - Perform a nearest neighbour search

  • private interface nearest_2D()

    Arguments

    None
  • private interface nearest_3D()

    Arguments

    None
  • private interface nearest_KD()

    Arguments

    None

generic, public :: kNearest => kNearest2D, kNearest3D, kNearestKD

KdTreeSearch%kNearest() - Perform a k nearest neighbour search or a radius search.

  • private interface kNearest_2D()

    Arguments

    None
  • private interface kNearest_3D()

    Arguments

    None
  • private interface kNearest_KD()

    Arguments

    None

generic, public :: rangeSearch => rangeSearch2D, rangeSearch3D, rangeSearchKD

KdTreeSearch%rangeSearch() - Find all points within axis aligned lower and upper bounds

  • private interface rangeSearch_2D()

    Arguments

    None
  • private interface rangeSearch_3D()

    Arguments

    None
  • private interface rangeSearch_KD()

    Arguments

    None