You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.1 KiB
C#

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