Enhanced VisualizerModel and Vector3VisualizerTest

This commit is contained in:
Matthias Heil
2026-04-07 11:16:24 +02:00
parent 26864a695f
commit 8038c76307
8 changed files with 90 additions and 26 deletions
+15 -6
View File
@@ -1,12 +1,21 @@
using System.Numerics;
using Num.Roto.Visualization.Math.Geometry;
var a = new Vector3(1,2,3);
var typeName = a.GetType().AssemblyQualifiedName;
#region points
var point0 = new Vector3(1,2,3);
var point1 = new Vector3(5, 6, 7);
Vector3[] pointArray = [point0, point1];
List<Vector3> pointList = [.. pointArray];
#endregion
var b = new Vector3(5, 6, 7);
Vector3[] v3Array = [a, b];
List<Vector3> v3List = [.. v3Array];
#region frames
var quaternion = new Quaternion(1,2,3,4);
var orientation = Quaternion.CreateFromAxisAngle(Vector3.UnitZ,1);
var frame = new Frame(point0,1, orientation);
Frame[] frameArray = [frame, frame with { Translation = point1}];
var frameList = frameArray.ToList();
#endregion
//var typeName = point0.GetType().AssemblyQualifiedName;
return;
@@ -2,9 +2,13 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Num.Roto.Visualization\Math\Num.Roto.Visualization.Math.csproj" />
</ItemGroup>
</Project>
@@ -1,3 +1,4 @@
<Solution>
<Project Path="../../Num.Roto.Visualization/Math/Num.Roto.Visualization.Math.csproj" />
<Project Path="Vector3VisualizerTest.csproj" />
</Solution>