Page 1 of 1

Source code of 'sample points on a mesh'

Posted: Thu Feb 10, 2022 12:21 pm
by jeehoon
Hi,
First of all, thank you for the wonderful software, I'm using CloudCompare all the time for my research.

For now, I'm trying to modify the 'sample points on a mesh' algorithm to make the generated points be more likely for me.
I could find the explanation about the algorithm on the 'CCLib' documentation (http://www.cloudcompare.org/doc/CCLib/h ... ml#details) and also I found the github of your software (https://github.com/CloudCompare/CloudCompare).
However, I can't locate where the source code for 'sample points on a mesh' algorithm is.
Can anyone locate me where the source code for 'sample points on a mesh' is?
thanks in advance

Re: Source code of 'sample points on a mesh'

Posted: Thu Feb 10, 2022 8:35 pm
by daniel
It's part of CCCoreLib, the core library with a lot of algorithms and can be used independently of CC: https://github.com/CloudCompare/CCCoreL ... gTools.cpp