using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RiverPortray { /// /// 刻画参数类. /// public class FaciesParameter { /// /// Initializes a new instance of the class. /// public FaciesParameter() { } /// /// Initializes a new instance of the class. /// /// The z min. /// The z max. /// The dilate. /// The area min. /// The smooth times. public FaciesParameter(double zMin, double zMax, int dilate, double areaMin, int smoothTimes) : this() { ZMin = zMin; ZMax = zMax; Dilate = dilate; AreaMin = areaMin; SmoothTimes = smoothTimes; } /// /// Gets or sets the 最小Z. /// [Category("\t\t计算参数"), DisplayName("Z值下限")] public double ZMin { get; set; } /// /// Gets or sets the 最大Z. /// [Category("\t\t计算参数"), DisplayName("Z值上限")] public double ZMax { get; set; } /// /// Gets or sets the 膨胀系数. /// [Category("\t\t计算参数"), DisplayName("膨胀系数")] public int Dilate { get; set; } /// /// Gets or sets the area 最小面积. /// [Category("\t\t计算参数"), DisplayName("最小面积")] public double AreaMin { get; set; } /// /// Gets or sets the smooth 最大面积. /// [Category("\t\t计算参数"), DisplayName("平滑次数")] public int SmoothTimes { get; set; } } }