internal override void parseJObject(JObject obj)
{
base.parseJObject(obj);
JObject jobj = obj.GetValue("RelatingProfileProperties", StringComparison.InvariantCultureIgnoreCase) as JObject;
if (jobj != null)
RelatingProfileProperties = mDatabase.parseJObject<IfcProfileProperties>(jobj);
jobj = obj.GetValue("ProfileSectionLocation", StringComparison.InvariantCultureIgnoreCase) as JObject;
if (jobj != null)
ProfileSectionLocation = mDatabase.parseJObject<IfcShapeAspect>(jobj);
jobj = obj.GetValue("ProfileOrientation", StringComparison.InvariantCultureIgnoreCase) as JObject;
if (jobj != null)
{
JToken measure = jobj["IfcPlaneAngleMeasure"];
if (measure != null)
mProfileOrientationValue = measure.Value<double>();
else
{
IfcDirection dir = mDatabase.parseJObject<IfcDirection>(jobj);
if (dir != null)
mProfileOrientation = dir.mIndex;
}
}
}
protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)