Enhanced VisualizerModel and Vector3VisualizerTest
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user