protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
obj["Coordinates"] = mDatabase[mCoordinates].getJson(this, processed);
if (mHasColours != null)
obj["HasColours"] = mHasColours.getJson(this, processed);
if (mHasTextures.Count > 0)
{
JArray array = new JArray(mHasTextures.Count);
foreach (IfcIndexedTextureMap tm in HasTextures)
array.Add(tm.getJson(this, processed));
obj["HasTextures"] = array;
}
}