public interface KdTree
Overloaded Initializer for a KdTree.
Can be used to create a 2D, 3D, or ND, KdTree class.
See m_KdTree for more information on how to use this class
Functions
public function init2D_KdTree(x, y) result(this)
Overloaded by interface KdTree
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=r64), |
intent(in) |
|
| :: |
x(:) | x-coordinates of the points |
real(kind=r64), |
intent(in) |
|
| :: |
y(:) | y-coordinates of the points |
Return Value type(KdTree)
KdTree Class
public function init3D_KdTree(x, y, z) result(this)
Overloaded by interface KdTree
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=r64), |
intent(in) |
|
| :: |
x(:) | x-coordinates of the points |
real(kind=r64), |
intent(in) |
|
| :: |
y(:) | y-coordinates of the points |
real(kind=r64), |
intent(in) |
|
| :: |
z(:) | z-coordinates of the points |
Return Value type(KdTree)
KdTree Class
public function initKD_KdTree(D) result(this)
Overloaded by interface KdTree
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=r64), |
intent(in) |
|
| :: |
D(:,:) | Coordinates of the points, the k columns contain the k dimensional values. |
Return Value type(KdTree)
KdTree Class