GeometryGym.Ifc.IfcMaterialLayer.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 (mMaterial > 0)
                obj["Material"] = Material.getJson(this, processed);
            obj["LayerThickness"] = mLayerThickness;
            obj["IsVentilated"] = mIsVentilated.ToString();
            setAttribute(obj, "Name", Name);
            setAttribute(obj, "Description", Description);
            setAttribute(obj, "Category", Category);
            if (!double.IsNaN(mPriority))
                obj["Priority"] = mPriority;
        }