Why using anonymous `enum`? Would be much cleaner it it had a name. Then in the `copyPointCloud` function you could use it instead of `int` for _borderType_ parameter.