23 lines
611 B
C#
23 lines
611 B
C#
using StructureHelperCommon.Models.Shapes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StructureHelperLogics.NdmCalculations.Analyses.ByForces
|
|
{
|
|
public class StabLimitCurveLogic : ILimitCurveLogic
|
|
{
|
|
public List<IPoint2D> GetPoints(List<IPoint2D> points)
|
|
{
|
|
var result = new List<IPoint2D>();
|
|
foreach (var item in points)
|
|
{
|
|
result.Add(new Point2D() { X = item.X * 0.5d, Y = item.Y * 0.5d });
|
|
}
|
|
return result;
|
|
}
|
|
}
|
|
}
|