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)); }
public static PointCloud FromBounds(double[] bounds, double distance_parameter) { double[] t = new double[] { distance_parameter, distance_parameter, distance_parameter }; return(PointCloud.FromBounds(bounds, t)); }
public static PointCloud FromBounds(double[] bounds, int count) { double[] t = new double[] { count, count, count }; return(PointCloud.FromBounds(bounds, t)); }