Circle Primitive Added
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
public static string ShapeIsNotCorrect => "#0004: Shape is not valid";
|
||||
public static string LimitStatesIsNotValid => "#0005: Type of limite state is not valid";
|
||||
public static string LoadTermIsNotValid => "#0006: Load term is not valid";
|
||||
public static string IncorrectValue => "#0007: value is not valid";
|
||||
public static string IncorrectValue => "#0007: Value is not valid";
|
||||
public static string FileCantBeDeleted => "#0008: File can't be deleted";
|
||||
public static string FileCantBeSaved => "#0009: File can't be saved";
|
||||
public static string VisualPropertyIsNotRight => "#0010: VisualPropertyIsNotRight";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
{
|
||||
public interface ICircle : IShape
|
||||
public interface ICircleShape : IShape
|
||||
{
|
||||
double Diameter { get; set; }
|
||||
}
|
||||
@@ -18,5 +18,10 @@ namespace StructureHelperCommon.Services.ShapeServices
|
||||
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