38 lines
837 B
C#
38 lines
837 B
C#
namespace RobotNet10.Shared.Geometry;
|
|
|
|
/// <summary>
|
|
/// PolygonStamped message (geometry_msgs/PolygonStamped)
|
|
/// A Polygon with reference coordinate frame and timestamp
|
|
/// </summary>
|
|
public struct PolygonStamped
|
|
{
|
|
/// <summary>
|
|
/// Header with timestamp and frame ID
|
|
/// </summary>
|
|
public Header Header { get; set; }
|
|
|
|
/// <summary>
|
|
/// Polygon
|
|
/// </summary>
|
|
public Polygon Polygon { get; set; }
|
|
|
|
/// <summary>
|
|
/// Default constructor
|
|
/// </summary>
|
|
public PolygonStamped()
|
|
{
|
|
Header = new Header();
|
|
Polygon = new Polygon();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Constructor with parameters
|
|
/// </summary>
|
|
public PolygonStamped(Header header, Polygon polygon)
|
|
{
|
|
Header = header;
|
|
Polygon = polygon;
|
|
}
|
|
}
|
|
|