public static StripLogical ( string s, int &pos, int len ) : IfcLogicalEnum | ||
s | string | |
pos | int | |
len | int | |
Résultat | IfcLogicalEnum |
internal override void parse(string str, ref int pos, ReleaseVersion release, int len, ConcurrentDictionary <int, BaseClassIfc> dictionary) { mDegree = int.Parse(ParserSTEP.StripField(str, ref pos, len)); ControlPointsList.AddRange(ParserSTEP.StripListLink(str, ref pos, len).Select(x => dictionary[x] as IfcCartesianPoint)); string s = ParserSTEP.StripField(str, ref pos, len); if (s[0] == '.') { Enum.TryParse <IfcBSplineCurveForm> (s.Replace(".", ""), true, out mCurveForm); } mClosedCurve = ParserIfc.StripLogical(str, ref pos, len); mSelfIntersect = ParserIfc.StripLogical(str, ref pos, len); }
internal override void parse(string str, ref int pos, ReleaseVersion release, int len, ConcurrentDictionary <int, BaseClassIfc> dictionary) { mMaterial = ParserSTEP.StripLink(str, ref pos, len); mLayerThickness = ParserSTEP.StripDouble(str, ref pos, len); mIsVentilated = ParserIfc.StripLogical(str, ref pos, len); try { if (release != ReleaseVersion.IFC2x3) { mName = ParserSTEP.StripString(str, ref pos, len); mDescription = ParserSTEP.StripString(str, ref pos, len); mCategory = ParserSTEP.StripString(str, ref pos, len); mPriority = ParserSTEP.StripDouble(str, ref pos, len); } } catch (Exception) { } }
internal override void parse(string str, ref int pos, ReleaseVersion release, int len, ConcurrentDictionary <int, BaseClassIfc> dictionary) { mUDegree = int.Parse(ParserSTEP.StripField(str, ref pos, len)); mVDegree = int.Parse(ParserSTEP.StripField(str, ref pos, len)); foreach (List <int> ids in ParserSTEP.StripListListLink(str, ref pos, len)) { ControlPointsList.Add(new LIST <IfcCartesianPoint>(ids.Select(x => dictionary[x] as IfcCartesianPoint))); } string s = ParserSTEP.StripField(str, ref pos, len); if (s[0] == '.') { Enum.TryParse <IfcBSplineSurfaceForm>(s.Replace(".", ""), true, out mSurfaceForm); } mUClosed = ParserIfc.StripLogical(str, ref pos, len); mVClosed = ParserIfc.StripLogical(str, ref pos, len); mSelfIntersect = ParserIfc.StripLogical(str, ref pos, len); }
internal override void parse(string str, ref int pos, ReleaseVersion release, int len, ConcurrentDictionary <int, BaseClassIfc> dictionary) { base.parse(str, ref pos, release, len, dictionary); FixedAxisVertical = ParserIfc.StripLogical(str, ref pos, len); Inclinating = dictionary[ParserSTEP.StripLink(str, ref pos, len)] as IfcAxisLateralInclination; }
internal override void parse(string str, ref int pos, ReleaseVersion release, int len, ConcurrentDictionary <int, BaseClassIfc> dictionary) { mTangentialContinuity = ParserIfc.StripLogical(str, ref pos, len); mStartTag = ParserSTEP.StripString(str, ref pos, len); mEndTag = ParserSTEP.StripString(str, ref pos, len); }
internal override void parse(string str, ref int pos, ReleaseVersion release, int len, ConcurrentDictionary <int, BaseClassIfc> dictionary) { Distance = ParserSTEP.StripDouble(str, ref pos, len); SelfIntersect = ParserIfc.StripLogical(str, ref pos, len); RefDirection = dictionary[ParserSTEP.StripLink(str, ref pos, len)] as IfcDirection; }