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

Method set_scale_factor

LASlib/src/lasreader.cpp:3143–3153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3141}
3142
3143void LASreadOpener::set_scale_factor(const F64* scale_factor) {
3144 if (scale_factor) {
3145 if (this->scale_factor == 0) this->scale_factor = new F64[3];
3146 this->scale_factor[0] = scale_factor[0];
3147 this->scale_factor[1] = scale_factor[1];
3148 this->scale_factor[2] = scale_factor[2];
3149 } else if (this->scale_factor) {
3150 delete[] this->scale_factor;
3151 this->scale_factor = 0;
3152 }
3153}
3154
3155void LASreadOpener::set_offset(const F64* offset) {
3156 if (offset) {

Callers 2

mainFunction · 0.45
openMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected