예제 #1
0
 public static PointCloud FromBounds(double[] bounds, int[] counts)
 {
     double[] ds = new double[]
     {
         (bounds[1] - bounds[0]) / counts[0],
         (bounds[3] - bounds[2]) / counts[1],
         (bounds[5] - bounds[4]) / counts[2]
     };
     return(PointCloud.FromBounds(bounds, ds));
 }
예제 #2
0
 public static PointCloud FromBounds(double[] bounds, double distance_parameter)
 {
     double[] t = new double[] { distance_parameter, distance_parameter, distance_parameter };
     return(PointCloud.FromBounds(bounds, t));
 }
예제 #3
0
 public static PointCloud FromBounds(double[] bounds, int count)
 {
     double[] t = new double[] { count, count, count };
     return(PointCloud.FromBounds(bounds, t));
 }