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,32 @@
using RobotNet10.Shared.Numbers;
namespace RobotNet10.Shared.Geometry;
/// <summary>
/// Polygon message (geometry_msgs/Polygon)
/// A specification of a polygon where the first and last points are assumed to be connected
/// </summary>
public struct Polygon
{
/// <summary>
/// Array of points defining the polygon
/// </summary>
public Vector3[] Points { get; set; }
/// <summary>
/// Default constructor
/// </summary>
public Polygon()
{
Points = [];
}
/// <summary>
/// Constructor with parameters
/// </summary>
public Polygon(Vector3[] points)
{
Points = points;
}
}