GeometryGym.Ifc.IfcRelContainedInSpatialStructure.setJSON C# (CSharp) Method

setJSON() protected method

protected setJSON ( JObject obj, BaseClassIfc host, HashSet processed ) : void
obj JObject
host BaseClassIfc
processed HashSet
return void
		protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
		{
			base.setJSON(obj, host, processed);
			List<IfcProduct> relatedElements = RelatedElements;
			JArray array = new JArray();
			foreach (IfcProduct product in relatedElements)
				array.Add(product.getJson(this, processed));
			obj["RelatedElements"] = array;
		}
	}
IfcRelContainedInSpatialStructure