GeometryGym.Ifc.IfcRelNests.setJSON C# (CSharp) Méthode

setJSON() protected méthode

protected setJSON ( JObject obj, BaseClassIfc host, HashSet processed ) : void
obj JObject
host BaseClassIfc
processed HashSet
Résultat void
		protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
		{
			base.setJSON(obj, host, processed);
			if (mRelatingObject != host.mIndex)
				obj["RelatingObject"] = RelatingObject.getJson(this, processed);
			List<IfcObjectDefinition> relatedObjects = RelatedObjects;
			JArray array = new JArray();
			foreach (IfcObjectDefinition od in relatedObjects)
				array.Add(od.getJson(this, processed));
			obj["RelatedObjects"] = array;
		}
	}