Source code of 'sample points on a mesh'

Feel free to ask any question here
Post Reply
jeehoon
Posts: 2
Joined: Thu Feb 10, 2022 11:44 am

Source code of 'sample points on a mesh'

Post 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
daniel
Site Admin
Posts: 7616
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

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

Post 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
Daniel, CloudCompare admin
Post Reply