The Cork library is a little bit buggy indeed ;) And sadly its author says he has no time to fix it (while I'm pretty sure it would be easy for him).
CC is not a 'mesh' tool, so I'm not sure what you can achieve in this direction... Maybe by using sampled meshes instead?
Morfological residual model
Re: Morfological residual model
Daniel, CloudCompare admin