Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 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;
}
}