示例#1
0
 public static Shape ToFormulaShape(this IEnumerable <Fr> frs) =>
 FourierShapes.SeriesFormula(frs.ToArray());
示例#2
0
 public static Shape ToLineShape(this IEnumerable <Fr> frs, int count = 256, double size = 1) =>
 FourierShapes.SingleSeries(frs.ToArray(), count).ToLines(size);
示例#3
0
 public static Shape ToNumShapeR90(this IEnumerable <Fr> frs, int count = 256, double size = 1) =>
 FourierShapes.SingleSeries(frs.ToArray(), count).Rotate(-Math.PI / 2).ToNumSpots3(size) + FourierShapes.SingleSeries(frs.ToArray(), count).Rotate(-Math.PI / 2).ToLines(size);
示例#4
0
 public static Shape ToShape(this IEnumerable <Fr> frs, int count = 256, double?volume = 0.05, double pointPrecision = 0.01, int[] indices = null, bool triangulateOnly = false) =>
 FourierShapes.Series(frs.ToArray(), volume, triangulateOnly, count, pointPrecision, indices).ToSingleShape();