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

Method read_point_default

LASlib/src/lasreaderpipeon.cpp:169–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169BOOL LASreaderPipeOn::read_point_default()
170{
171 while (true)
172 {
173 if (lasreader->read_point())
174 {
175 point = lasreader->point;
176 if (laswriter)
177 {
178 laswriter->write_point(&point);
179 }
180 p_idx++;
181 p_cnt++;
182 return TRUE;
183 }
184 if (laswriter)
185 {
186 laswriter->close();
187 delete laswriter;
188 laswriter = 0;
189 }
190 point.zero();
191 return FALSE;
192 }
193}
194
195void LASreaderPipeOn::close(BOOL close_stream)
196{

Callers

nothing calls this directly

Calls 3

write_pointMethod · 0.45
closeMethod · 0.45
zeroMethod · 0.45

Tested by

no test coverage detected