GeometryGym.Ifc.IfcRepresentation.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);
			obj["ContextOfItems"] = ContextOfItems.getJson(this, processed);
			setAttribute(obj, "RepresentationIdentifier", RepresentationIdentifier);
			setAttribute(obj, "RepresentationType", RepresentationType);
			obj["Items"] = new JArray(Items.ConvertAll(x => x.getJson(this, processed)));

			if (mLayerAssignments.Count > 0)
				obj["LayerAssignments"] = new JArray(mLayerAssignments.ConvertAll(x => x.getJson(this, processed)));
		}
	}
IfcRepresentation