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

Method set_scale_factor

LASlib/src/lastransform.cpp:111–116  ·  view source on GitHub ↗

setting the new scaling factor

Source from the content-addressed store, hash-verified

109
110/// setting the new scaling factor
111void LASoperation::set_scale_factor(F64 scale_factor_x, F64 scale_factor_y, F64 scale_factor_z)
112{
113 this->scale_factor_x = (scale_factor_x != 0) ? scale_factor_x : orig_x_scale_factor;
114 this->scale_factor_y = (scale_factor_y != 0) ? scale_factor_y : orig_y_scale_factor;
115 this->scale_factor_z = (scale_factor_z != 0) ? scale_factor_z : orig_z_scale_factor;
116};
117
118/// setting the new offset factor
119void LASoperation::set_adjusted_offset(F64 adjusted_offset_x, F64 adjusted_offset_y, F64 adjusted_offset_z)

Callers 1

adjust_offsetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected