Init project
This commit is contained in:
23
RobotApp.VDA5050/Order/Trajectory.cs
Normal file
23
RobotApp.VDA5050/Order/Trajectory.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RobotApp.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; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user