Initial commit

This commit is contained in:
2026-07-03 16:31:37 +07:00
commit 899c7c637d
1939 changed files with 641750 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace RobotNet.VDA5050.Order;
public class ControlPoint
{
[Required]
[JsonPropertyName("x")]
public double X { get; set; }
[Required]
[JsonPropertyName("y")]
public double Y { get; set; }
[JsonPropertyName("weight")]
public double? Weight { get; set; }
}
public class Trajectory
{
[Required]
[JsonPropertyName("degree")]
public int Degree { get; set; }
[Required]
[JsonPropertyName("knotVector")]
public double[] KnotVector { get; set; } = [];
[Required]
[JsonPropertyName("controlPoints")]
public ControlPoint[] ControlPoints { get; set; } = [];
}