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

Parse() protected méthode

protected Parse ( string str, int &pos, int len ) : void
str string
pos int
len int
Résultat void
        protected override void Parse(string str, ref int pos, int len)
        {
            base.Parse(str, ref pos, len);
            mMultiplicities = ParserSTEP.StripListInt(str, ref pos, len);
            mKnots = ParserSTEP.StripListDouble(str, ref pos, len);
            mKnotSpec = (IfcKnotType)Enum.Parse(typeof(IfcKnotType), ParserSTEP.StripField(str, ref pos, len).Replace(".", ""));
        }

Same methods

IfcBSplineCurveWithKnots::Parse ( string str ) : IfcBSplineCurveWithKnots

Usage Example

Exemple #1
0
 internal static IfcBSplineCurveWithKnots Parse(string str)
 {
     IfcBSplineCurveWithKnots c = new IfcBSplineCurveWithKnots();
     int pos = 0;
     c.Parse(str, ref pos, str.Length);
     return c;
 }