Exemplo n.º 1
0
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            geometry_msgs.Polygon other = (Messages.geometry_msgs.Polygon)____other;

            if (points.Length != other.points.Length)
            {
                return(false);
            }
            for (int __i__ = 0; __i__ < points.Length; __i__++)
            {
                ret &= points[__i__].Equals(other.points[__i__]);
            }
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
Exemplo n.º 2
0
 public PolygonStamped(std_msgs.Header header, geometry_msgs.Polygon polygon)
 {
     this.header  = header;
     this.polygon = polygon;
 }
Exemplo n.º 3
0
 public PolygonStamped()
 {
     this.header  = new std_msgs.Header();
     this.polygon = new geometry_msgs.Polygon();
 }
Exemplo n.º 4
0
 public PolygonStamped()
 {
     header = new std_msgs.Header();
     polygon = new geometry_msgs.Polygon();
 }
Exemplo n.º 5
0
 public PolygonStamped(std_msgs.Header _header, geometry_msgs.Polygon _polygon)
 {
     header  = _header;
     polygon = _polygon;
 }