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

Method add_operation

LASlib/src/lastransform.cpp:11439–11458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11437}
11438
11439void LAStransform::add_operation(LASoperation* transform_operation)
11440{
11441 if (num_operations == alloc_operations)
11442 {
11443 U32 i;
11444 alloc_operations += 16;
11445 LASoperation** temp_operations = new LASoperation*[alloc_operations];
11446 if (operations)
11447 {
11448 for (i = 0; i < num_operations; i++)
11449 {
11450 temp_operations[i] = operations[i];
11451 }
11452 delete[] operations;
11453 }
11454 operations = temp_operations;
11455 }
11456 operations[num_operations] = transform_operation;
11457 num_operations++;
11458}
11459
11460void LAStransform::delete_operation(const CHAR* name)
11461{

Callers 1

openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected