36 lines
893 B
C#
36 lines
893 B
C#
|
|
using CaeMesh;
|
|||
|
|
|
|||
|
|
namespace RBFMorphing
|
|||
|
|
{
|
|||
|
|
public class Node
|
|||
|
|
{
|
|||
|
|
// Variables
|
|||
|
|
public int Id { get; set; }
|
|||
|
|
public double X { get; set; }
|
|||
|
|
public double Y { get; set; }
|
|||
|
|
public double Z { get; set; }
|
|||
|
|
public double Dx { get; set; }
|
|||
|
|
public double Dy { get; set; }
|
|||
|
|
public double Dz { get; set; }
|
|||
|
|
|
|||
|
|
// ReSharper disable once ConvertConstructorToMemberInitializers
|
|||
|
|
public Node()
|
|||
|
|
{
|
|||
|
|
Id = -1;
|
|||
|
|
X = 0;
|
|||
|
|
Y = 0;
|
|||
|
|
Z = 0;
|
|||
|
|
Dx = 0;
|
|||
|
|
Dy = 0;
|
|||
|
|
Dz = 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public Node(FeNode node) : this()
|
|||
|
|
{
|
|||
|
|
Id = node.Id;
|
|||
|
|
X = node.X;
|
|||
|
|
Y = node.Y;
|
|||
|
|
Z = node.Z;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|