GeometryGym.Ifc.IfcPositiveLengthMeasure.IfcPositiveLengthMeasure C# (CSharp) Méthode

IfcPositiveLengthMeasure() private méthode

private IfcPositiveLengthMeasure ( string str ) : System
str string
Résultat System
		internal IfcPositiveLengthMeasure(string str)
		{
			int icounter = 0;
			for (; icounter < str.Length; icounter++)
			{
				Char c = str[icounter];
				if (char.IsDigit(c))
					break;
				if (c == '.')
					break;
			}
			if (!double.TryParse(str.Substring(icounter), out mValue))
				mValue = 0;
		}
		public override string ToString() { return "IFCPOSITIVELENGTHMEASURE(" + ParserSTEP.DoubleToString(mValue) + ")"; }

Same methods

IfcPositiveLengthMeasure::IfcPositiveLengthMeasure ( double value ) : System
IfcPositiveLengthMeasure