GeometryGym.Ifc.IfcGeneralProfileProperties.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(!double.IsNaN(mPhysicalWeight))
                obj["PhysicalWeight"] = mPhysicalWeight;
            if(!double.IsNaN(mPerimeter))
                obj["Perimeter"] = mPerimeter;
            if(!double.IsNaN(mMinimumPlateThickness))
                obj["MinimumPlateThickness"] = mMinimumPlateThickness;
            if(!double.IsNaN(mMaximumPlateThickness))
                obj["MaximumPlateThickness"] = mMaximumPlateThickness;
            if(!double.IsNaN(mCrossSectionArea))
                obj["CrossSectionArea"] = mCrossSectionArea;
        }