GeometryGym.Ifc.IfcProjectedCRS.setJSON C# (CSharp) Méthode

setJSON() protected méthode

protected setJSON ( Newtonsoft.Json.Linq.JObject obj, BaseClassIfc host, HashSet processed ) : void
obj Newtonsoft.Json.Linq.JObject
host BaseClassIfc
processed HashSet
Résultat void
        protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
        {
            base.setJSON(obj, host, processed);
            string str = MapProjection;
            if (!string.IsNullOrEmpty(str))
                obj["MapProjection"] = str;
            str = MapZone;
            if (!string.IsNullOrEmpty(str))
                obj["MapZone"] = str;
            IfcNamedUnit unit = MapUnit;
            if (unit != null)
                obj["MapUnit"] = unit.getJson(this, processed);
        }