GeometryGym.Ifc.IfcQuantityTime.Parse C# (CSharp) Méthode

Parse() static private méthode

static private Parse ( string str, ReleaseVersion schema ) : IfcQuantityTime
str string
schema ReleaseVersion
Résultat IfcQuantityTime
        internal static IfcQuantityTime Parse(string str, ReleaseVersion schema)
        {
            IfcQuantityTime q = new IfcQuantityTime();
            int pos = 0, len = str.Length;
            q.Parse(str, ref pos, len);
            double.TryParse(ParserSTEP.StripField(str, ref pos, len), out q.mTimeValue);
            if (schema != ReleaseVersion.IFC2x3)
                q.mFormula = ParserSTEP.StripString(str, ref pos, len);
            return q;
        }

Usage Example

Exemple #1
0
        internal static IfcQuantityTime Parse(string str, ReleaseVersion schema)
        {
            IfcQuantityTime q = new IfcQuantityTime();
            int             pos = 0, len = str.Length;

            q.Parse(str, ref pos, len);
            double.TryParse(ParserSTEP.StripField(str, ref pos, len), out q.mTimeValue);
            if (schema != ReleaseVersion.IFC2x3)
            {
                q.mFormula = ParserSTEP.StripString(str, ref pos, len);
            }
            return(q);
        }
All Usage Examples Of GeometryGym.Ifc.IfcQuantityTime::Parse