Exemplo n.º 1
0
 protected override void setJSON(JObject obj, BaseClassIfc host, HashSet <int> processed)
 {
     base.setJSON(obj, host, processed);
     obj["SweptArea"] = SweptArea.getJson(this, processed);
     if (mPosition > 0)
     {
         obj["Position"] = Position.getJson(this, processed);
     }
 }
Exemplo n.º 2
0
 protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options)
 {
     base.setJSON(obj, host, options);
     obj["SweptArea"] = SweptArea.getJson(this, options);
     if (mPosition > 0)
     {
         obj["Position"] = Position.getJson(this, options);
     }
 }