Add inclined section visualization

This commit is contained in:
RedikultsevEvg
2025-08-07 22:42:46 +05:00
parent 466c57feef
commit 2f6c35482b
56 changed files with 1392 additions and 150 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperCommon.Infrastructures.Interfaces
{
public interface IObjectConvertStrategy<T, V>
{
T Convert(V source);
}
}

View File

@@ -7,7 +7,7 @@ namespace StructureHelperCommon.Models.VisualProperties
/// <inheritdoc/>
public class PrimitiveVisualProperty : IPrimitiveVisualProperty
{
private double opacity = 0;
private double opacity = 1;
/// <inheritdoc/>
public Guid Id { get; }
@@ -25,7 +25,7 @@ namespace StructureHelperCommon.Models.VisualProperties
{
if (value < 0)
{
opacity = 1;
opacity = 0;
return;
}
if (value > 1)