|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
-------------------------------------------------------
Name : NearestC.hh
Library : vecsetC
Description: Nearest Neighbour Vector Set Pair
Dependancies: Vector3dC, VectorSetC
Modified :
Created : 13.2.95
Author : Adrian Hilton
-------------------------------------------------------
========================================================
INLINE
================== NearestC =============================
Nearest correspondence of any point to a target set of vectors
Variables:
Methods:
- NearestC()
-
empty constructor
- NearestC(VectorSetC & t)
-
- ~NearestC()
-
destruct
- NearestC(const NearestC & s)
-
copy constructor
- const NearestC & operator=(const NearestC & s)
-
assignment
Internal Data Structure for Computation - Default Direct Computation O(N)
--------------------------------------------------------------------------
- void SetupHash(const RealT & size)
-
Hash table uniform spatial subdivision using voxels of size vsize
- void SetupHash(const Vector3dC & vsize)
-
Hash table spatial subdivision with voxels of size vsize(X,Y,Z)
Operations
-----------
- IntT Nearest(Vector3dC & v)
-
get nearest point in target set to point v
returns -1 if no nearest point is found
|
Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|