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

Method addHeaderInfo

LASlib/src/lastransform.cpp:11309–11317  ·  view source on GitHub ↗

sets the original gps options (time offset, global encoding) to transform from

Source from the content-addressed store, hash-verified

11307
11308// sets the original gps options (time offset, global encoding) to transform from
11309void LAStransform::addHeaderInfo(LASreader* lasreader)
11310{
11311 if (!operations || !lasreader) return;
11312
11313 for (U32 i = 0; i < num_operations; i++)
11314 {
11315 operations[i]->set_gps_origins(lasreader->header.global_encoding, lasreader->header.time_offset);
11316 }
11317}
11318
11319/// Calculates a new offset after operations (transformations) to avoid an I32 overflow.
11320void LAStransform::adjust_offset(LASreader* lasreader, F64* scale_factor)

Callers

nothing calls this directly

Calls 1

set_gps_originsMethod · 0.45

Tested by

no test coverage detected