-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
cy::WeightedSampleElimination<cy::Vec3d, double, 3> wse;
std::vector<cy::Vec3d> outputPoints(n);
//! Important!
// d_max is used to define the sampling dist param based on sampling area
float d_max = 2 * wse.GetMaxPoissonDiskRadius(2, outputPoints.size(), area);
// 3D points, sampling in 2D plane
wse.Eliminate(inputPoints.data(), inputPoints.size(), outputPoints.data(),
outputPoints.size(), false, d_max, 2);I use this piece of code to do elimination sampling. After reading the source code, it is still not clear to me whether this process is random/time-dependent or not -- with the same input points and input variables, does the Eliminate function always returns the same results?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels