| 253 | } |
| 254 | |
| 255 | ParentCache::ParentCache(long nx, long x_chunk_points, long y_chunk_points) |
| 256 | : _nx(nx), _x_chunk_points(x_chunk_points), |
| 257 | _y_chunk_points(y_chunk_points), |
| 258 | _lines(0), // Initialised when first needed. |
| 259 | _istart(0), _jstart(0) { |
| 260 | assert(_x_chunk_points > 0 && _y_chunk_points > 0 && |
| 261 | "Chunk sizes must be positive"); |
| 262 | } |
| 263 | |
| 264 | ContourLine *ParentCache::get_parent(long quad) { |
| 265 | long index = quad_to_index(quad); |
nothing calls this directly
no outgoing calls
no test coverage detected