GeometryGym.Ifc.IfcRelAggregates.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);
			JArray array = new JArray();
			if (!mRelatedObjects.Contains(host.mIndex))
			{
				foreach (IfcObjectDefinition od in RelatedObjects)
					array.Add(od.getJson(this, processed));
				obj["RelatedObjects"] = array;
			}
		}
	}
IfcRelAggregates