Carbon Fiber Material was Added
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
using System;
|
||||
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for point of center of some shape
|
||||
/// Интерфейс для точки центра некоторой формы
|
||||
/// </summary>
|
||||
public interface IPoint2D
|
||||
public interface IPoint2D : ICloneable
|
||||
{
|
||||
/// <summary>
|
||||
/// Coordinate of center of rectangle by local axis X, m
|
||||
|
||||
@@ -7,5 +7,11 @@
|
||||
public double X { get; set; }
|
||||
/// <inheritdoc />
|
||||
public double Y { get; set; }
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
var point = new Point2D() { X = X, Y = Y };
|
||||
return point;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user