GeometryGym.Ifc.IfcRelAssociatesProfileProperties.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 (host.mIndex != mRelatingProfileProperties)
				obj["RelatingProfileProperties"] = mDatabase[mRelatingProfileProperties].getJson(this, processed);
			if (mProfileSectionLocation > 0 && host.mIndex != mProfileSectionLocation)
				obj["ProfileSectionLocation"] = mDatabase[mProfileSectionLocation].getJson(this, processed);
			if (mProfileOrientation > 0)
				obj["ProfileOrientation"] = mDatabase[mProfileOrientation].getJson(this, processed);
			else if (!double.IsNaN(mProfileOrientationValue))
			{
				JObject jobj = new JObject();
				jobj["IfcPlaneAngleMeasure"] = mProfileOrientationValue;
				obj["ProfileOrientation"] = jobj;
			}
		}
	}
IfcRelAssociatesProfileProperties