예제 #1
0
 public System.String ToJSON()
 {
     return("{"
            + "\"seq\": " + seq.ToString() + ", "
            + "\"stamp\": " + stamp.ToString() + ", "
            + "\"frame_id\": \"" + frame_id + "\"}");
 }
예제 #2
0
 public System.String ToJSON()
 {
     System.String ret = "{";
     ret += "\"rel_position\": " + rel_position.ToJSON() + ", ";
     ret += "\"width\": " + width.ToString() + ", ";
     ret += "\"height\": " + height.ToString() + ", ";
     ret += "\"box_angle\": " + box_angle.ToString() + "}";
     return ret;
 }
예제 #3
0
파일: PointD.cs 프로젝트: dgakh/SSTypes
 public override string ToString()
 {
     return("(" + X.ToString() + "," + Y.ToString() + ")");
 }
예제 #4
0
 public System.String ToJSON()
 {
     return("{\"data\" : " + data.ToString() + "}");
 }