Crack Calculator was added
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
using StructureHelperCommon.Models.Calculators;
|
||||
|
||||
namespace StructureHelperCommon.Services.Calculations
|
||||
{
|
||||
public static class AccuracyService
|
||||
{
|
||||
public static void CopyProperties(IAccuracy source, IAccuracy target)
|
||||
{
|
||||
target.IterationAccuracy = source.IterationAccuracy;
|
||||
target.MaxIterationCount = source.MaxIterationCount;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
using StructureHelperCommon.Models.Sections;
|
||||
|
||||
namespace StructureHelperCommon.Services.Sections
|
||||
{
|
||||
public static class CompressedMemberServices
|
||||
{
|
||||
public static void CopyProperties(ICompressedMember source, ICompressedMember target)
|
||||
{
|
||||
target.Buckling = source.Buckling;
|
||||
target.GeometryLength = source.GeometryLength;
|
||||
target.LengthFactorX = source.LengthFactorX;
|
||||
target.DiagramFactorX = source.DiagramFactorX;
|
||||
target.LengthFactorY = source.LengthFactorY;
|
||||
target.DiagramFactorY = source.DiagramFactorY;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
using StructureHelperCommon.Models.Shapes;
|
||||
|
||||
namespace StructureHelperCommon.Services.ShapeServices
|
||||
{
|
||||
public static class ShapeService
|
||||
{
|
||||
public static void CopyLineProperties(ILineShape source, ILineShape target)
|
||||
{
|
||||
target.StartPoint.X = source.StartPoint.X;
|
||||
target.StartPoint.Y = source.StartPoint.Y;
|
||||
target.EndPoint.X = source.EndPoint.X;
|
||||
target.EndPoint.Y = source.EndPoint.Y;
|
||||
}
|
||||
|
||||
public static void CopyRectangleProperties(IRectangleShape source, IRectangleShape target)
|
||||
{
|
||||
target.Width = source.Width;
|
||||
target.Height = source.Height;
|
||||
target.Angle = source.Angle;
|
||||
}
|
||||
|
||||
public static void CopyCircleProperties(ICircleShape source, ICircleShape target)
|
||||
{
|
||||
target.Diameter = source.Diameter;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user