using System.ComponentModel.DataAnnotations;

namespace RobotNet.RobotShares.VDA5050.Order;

#nullable disable

public class ControlPoint
{
    [Required]
    public double X { get; set; }
    [Required]
    public double Y { get; set; }
    public double Weight { get; set; }
}
public class Trajectory
{
    [Required]
    public int Degree { get; set; }
    [Required]
    public double[] KnotVector { get; set; } = [];
    [Required]
    public ControlPoint[] ControlPoints { get; set; } = [];
}
