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

Method zero

LASzip/src/laszip_dll.cpp:195–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 void zero()
196 {
197 memset(&header, 0, sizeof(laszip_header_struct));
198 p_count = 0;
199 npoints = 0;
200 memset(&point, 0, sizeof(laszip_point_struct));
201 point_items = NULL;
202 file = NULL;
203 streamin = NULL;
204 reader = NULL;
205 streamout = NULL;
206 writer = NULL;
207 attributer = NULL;
208 memset(error, 0, 1024);
209 memset(warning, 0, 1024);
210 lax_index = NULL;
211 lax_r_min_x = 0.0;
212 lax_r_min_y = 0.0;
213 lax_r_max_x = 0.0;
214 lax_r_max_y = 0.0;
215 lax_file_name = NULL;
216 lax_create = FALSE;
217 lax_append = FALSE;
218 lax_exploit = FALSE;
219 las14_decompress_selective = 0;
220 preserve_generating_software = FALSE;
221 request_native_extension = FALSE;
222 request_compatibility_mode = FALSE;
223 compatibility_mode = FALSE;
224 set_chunk_size = 0;
225 start_scan_angle = 0;
226 start_extended_returns = 0;
227 start_classification = 0;
228 start_flags_and_channel = 0;
229 start_NIR_band = 0;
230 inventory = NULL;
231 message_callback_data = NULL;
232 };
233} laszip_dll_struct;
234
235/*---------------------------------------------------------------------------*/

Callers 3

laszip_I32 laszip_createFunction · 0.45
laszip_I32 laszip_cleanFunction · 0.45
zeroFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected