| 167 | } |
| 168 | |
| 169 | BOOL 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 | |
| 195 | void LASreaderPipeOn::close(BOOL close_stream) |
| 196 | { |
nothing calls this directly
no test coverage detected