int np[] = nearpoints(0,@P,chf("filter_dist"));
i@nnp = len(np);
if(len(np) < chi("filter_num"))
{
removepoint(0, @ptnum);
}
filter dist控制最小距离
filter num控制最小邻居数目
int np[] = nearpoints(0,@P,chf("filter_dist"));
i@nnp = len(np);
if(len(np) < chi("filter_num"))
{
removepoint(0, @ptnum);
}
filter dist控制最小距离
filter num控制最小邻居数目