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

Method set_offset

LASlib/src/lasreader.cpp:3155–3165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3153}
3154
3155void LASreadOpener::set_offset(const F64* offset) {
3156 if (offset) {
3157 if (this->offset == 0) this->offset = new F64[3];
3158 this->offset[0] = offset[0];
3159 this->offset[1] = offset[1];
3160 this->offset[2] = offset[2];
3161 } else if (this->offset) {
3162 delete[] this->offset;
3163 this->offset = 0;
3164 }
3165}
3166
3167void LASreadOpener::set_translate_intensity(const F32 translation) {
3168 this->translate_intensity = translation;

Callers 7

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
adjust_offsetMethod · 0.45
openMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected