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;