46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using StructureHelper.Models.Materials;
|
|
using StructureHelperCommon.Infrastructures.Interfaces;
|
|
using StructureHelperCommon.Models.Forces;
|
|
using StructureHelperCommon.Models.Shapes;
|
|
using StructureHelperLogics.Models.CrossSections;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StructureHelperLogics.NdmCalculations.Primitives
|
|
{
|
|
/// <inheritdoc/>
|
|
public class NdmElement : INdmElement
|
|
{
|
|
private IUpdateStrategy<INdmElement> updateStrategy;
|
|
/// <inheritdoc/>
|
|
public Guid Id { get; }
|
|
/// <inheritdoc/>
|
|
public IHeadMaterial? HeadMaterial { get; set; }
|
|
/// <inheritdoc/>
|
|
public bool Triangulate { get; set; } = true;
|
|
/// <inheritdoc/>
|
|
public IForceTuple UsersPrestrain { get; } = new StrainTuple();
|
|
/// <inheritdoc/>
|
|
public IForceTuple AutoPrestrain { get; } = new StrainTuple();
|
|
|
|
public NdmElement(Guid id)
|
|
{
|
|
Id = id;
|
|
}
|
|
|
|
public NdmElement() : this(Guid.NewGuid())
|
|
{
|
|
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public object Clone()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|