Mercurial > octave-nkf
comparison libinterp/dldfcn/__voronoi__.cc @ 19630:0e1f5a750d00
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:24:46 -0500 |
parents | 65554f5847ac 446c46af4b42 |
children | 4197fc428c7d |
comparison
equal
deleted
inserted
replaced
19626:37d37297acf8 | 19630:0e1f5a750d00 |
---|---|
197 | 197 |
198 FORALLfacets | 198 FORALLfacets |
199 { | 199 { |
200 facet->seen = false; | 200 facet->seen = false; |
201 } | 201 } |
202 | 202 |
203 OCTAVE_LOCAL_BUFFER (octave_idx_type, ni, num_voronoi_regions); | 203 OCTAVE_LOCAL_BUFFER (octave_idx_type, ni, num_voronoi_regions); |
204 for (octave_idx_type i = 0; i < num_voronoi_regions; i++) | 204 for (octave_idx_type i = 0; i < num_voronoi_regions; i++) |
205 ni[i] = 0; | 205 ni[i] = 0; |
206 | 206 |
207 k = 0; | 207 k = 0; |
208 | 208 |
209 FORALLvertices | 209 FORALLvertices |
210 { | 210 { |
211 if (qh hull_dim == 3) | 211 if (qh hull_dim == 3) |
212 qh_order_vertexneighbors (vertex); | 212 qh_order_vertexneighbors (vertex); |
213 | 213 |
214 bool infinity_seen = false; | 214 bool infinity_seen = false; |
215 | 215 |
216 facetT *neighbor, **neighborp; | 216 facetT *neighbor, **neighborp; |
217 | 217 |
218 FOREACHneighbor_ (vertex) | 218 FOREACHneighbor_ (vertex) |