42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using CaeGlobals;
|
|
using DynamicTypeDescriptor;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CaeMesh
|
|
{
|
|
[Serializable]
|
|
public enum NodesToKeepEnum
|
|
{
|
|
[StandardValue("SmallerID", DisplayName = "Smaller ID")]
|
|
SmallerID,
|
|
[StandardValue("LargerID", DisplayName = "Larger ID")]
|
|
LargerID
|
|
}
|
|
//
|
|
[Serializable]
|
|
public class MergeCoincidentNodes
|
|
{
|
|
// Properties
|
|
public int[] GeometryIds;
|
|
public Selection CreationData;
|
|
public double Tolerance;
|
|
public NodesToKeepEnum NodesToKeep;
|
|
|
|
|
|
// Constructors
|
|
public MergeCoincidentNodes()
|
|
{
|
|
GeometryIds = null;
|
|
CreationData = null;
|
|
Tolerance = 1E-3;
|
|
NodesToKeep = NodesToKeepEnum.SmallerID;
|
|
}
|
|
}
|
|
//
|
|
}
|