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