ros2_interfaces_rolling/polygon_msgs/msg/polygon2_d.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Polygon2D {
5 pub points: Vec<crate::polygon_msgs::msg::Point2D>,
6}
7
8impl Default for Polygon2D {
9 fn default() -> Self {
10 Polygon2D {
11 points: Vec::new(),
12 }
13 }
14}
15
16impl ros2_client::Message for Polygon2D {}