예제 #1
0
 /// <summary>
 /// iterates through the list and subsamples by factor and then averages factor many points together.
 /// </summary>
 /// <param name="input">List(Point3D)</param>
 /// <param name="factor">int</param>
 /// <returns>List(Point3D)</returns>
 public static List <Point3D> averageSubSample(List <Point3D> input, int factor)
 {
     return(SubSampler.averageSample(SubSampler.subSample(input, factor), factor));
 }
예제 #2
0
 /// <summary>
 /// iterates through the list and subsamples by subSampleFactor and then averages averageFactor many points together.
 /// </summary>
 /// <param name="input">List(Point3D)</param>
 /// <param name="factor">int</param>
 /// <returns>List(Point3D)</returns>
 public static List <Point3D> averageSubSample(List <Point3D> input, int subSampleFactor, int averageFactor)
 {
     return(SubSampler.averageSample(SubSampler.subSample(input, subSampleFactor), averageFactor));
 }