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

Method init

LASzip/src/lasreadpoint.cpp:302–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302BOOL LASreadPoint::init(ByteStreamIn* instream)
303{
304 if (!instream) return FALSE;
305 this->instream = instream;
306
307 U32 i;
308 for (i = 0; i < num_readers; i++)
309 {
310 ((LASreadItemRaw*)(readers_raw[i]))->init(instream);
311 }
312
313 if (dec)
314 {
315 chunk_count = chunk_size;
316 point_start = 0;
317 readers = 0;
318 }
319 else
320 {
321 point_start = instream->tell();
322 readers = readers_raw;
323 }
324
325 return TRUE;
326}
327
328BOOL LASreadPoint::seek(const U32 current, const U32 target)
329{

Callers 6

openMethod · 0.45
readMethod · 0.45
read_chunk_tableMethod · 0.45
create_point_writerFunction · 0.45
laszip_read_headerFunction · 0.45
openMethod · 0.45

Calls 1

tellMethod · 0.45

Tested by

no test coverage detected