Add import of polygon from dxf

This commit is contained in:
Evgeny Redikultsev
2025-11-01 21:56:47 +05:00
parent 3dfbb43b73
commit ba0d3e580b
34 changed files with 498 additions and 179 deletions

View File

@@ -29,5 +29,7 @@
public static string CalculationError => "#0019: Error of calculation";
public static string SourceObject => "#0020: Source object";
public static string TargetObject => "#0021: Target object";
public static string FileDoesNotExsist => "#0022: File does not exist";
public static string FileCantBeOpened => "#0023: File can not be opened";
}
}

View File

@@ -6,8 +6,18 @@ using System.Threading.Tasks;
namespace StructureHelperCommon.Infrastructures.Interfaces
{
/// <summary>
/// Implements logic for convert from one object to another one
/// </summary>
/// <typeparam name="T">Type of target object</typeparam>
/// <typeparam name="V">Type of source object</typeparam>
public interface IObjectConvertStrategy<T, V>
{
/// <summary>
/// Converts sourve object to another one
/// </summary>
/// <param name="source">Source object</param>
/// <returns>Target object</returns>
T Convert(V source);
}
}