Subversion Repositories gelsvn

Rev

Rev 330 | Rev 595 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 330 Rev 334
Line 132... Line 132...
132
			init_nodes.swap(v);
132
			init_nodes.swap(v);
133
			is_built = true;
133
			is_built = true;
134
		}
134
		}
135
 
135
 
136
		/** Find the key value pair closest to the key given as first 
136
		/** Find the key value pair closest to the key given as first 
137
				argument. The second argument is the maximum search distance.
137
				argument. The second argument is the maximum search distance. Upon
-
 
138
				return this value is changed to the distance to the found point.
138
				The final two arguments contain the closest key and its 
139
				The final two arguments contain the closest key and its 
139
				associated value upon return. */
140
				associated value upon return. */
140
		bool closest_point(const KeyT& p, ScalarType& dist, KeyT&k, ValT&v) const
141
		bool closest_point(const KeyT& p, ScalarType& dist, KeyT&k, ValT&v) const
141
		{
142
		{
142
			assert(is_built);
143
			assert(is_built);