MCPcopy Create free account
hub / github.com/LAStools/LAStools / close

Method close

LASlib/src/laswriter_qfit.cpp:273–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273I64 LASwriterQFIT::close(BOOL update_header)
274{
275 I64 bytes = 0;
276
277 if (stream)
278 {
279 bytes = stream->tell();
280 delete stream;
281 stream = 0;
282 }
283
284 if (file)
285 {
286 fclose(file);
287 file = 0;
288 }
289
290 npoints = p_count;
291 p_count = 0;
292
293 return bytes;
294}
295
296LASwriterQFIT::LASwriterQFIT()
297{

Callers

nothing calls this directly

Calls 1

tellMethod · 0.45

Tested by

no test coverage detected