Initial commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user