상속: IfcBSplineSurface
예제 #1
0
 internal IfcBSplineSurfaceWithKnots(DatabaseIfc db, IfcBSplineSurfaceWithKnots s) : base(db, s)
 {
     mUMultiplicities = new List <int>(s.mUMultiplicities.ToArray());
     mVMultiplicities = new List <int>(s.mVMultiplicities.ToArray());
     mUKnots          = new List <double>(s.mUKnots.ToArray());
     mVKnots          = new List <double>(s.mVKnots.ToArray());
     mKnotSpec        = s.mKnotSpec;
 }
예제 #2
0
파일: IFC B.cs 프로젝트: jenca-cloud/ggIFC
		internal static IfcBSplineSurfaceWithKnots Parse(string strDef) { IfcBSplineSurfaceWithKnots s = new IfcBSplineSurfaceWithKnots(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
예제 #3
0
파일: IFC B.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcBSplineSurfaceWithKnots(IfcBSplineSurfaceWithKnots s)
			: base(s)
		{
			mUMultiplicities = new List<int>(s.mUMultiplicities.ToArray());
			mVMultiplicities = new List<int>(s.mVMultiplicities.ToArray());
			mUKnots = new List<double>(s.mUKnots.ToArray());
			mVKnots = new List<double>(s.mVKnots.ToArray());
			mKnotSpec = s.mKnotSpec;
		}
예제 #4
0
파일: IFC B.cs 프로젝트: jenca-cloud/ggIFC
		internal static void parseFields(IfcBSplineSurfaceWithKnots ss, List<string> arrFields, ref int ipos)
		{
			IfcBSplineSurface.parseFields(ss, arrFields, ref ipos);
			string s = arrFields[ipos++];
			List<string> arrLists = ParserSTEP.SplitLineFields(s.Substring(1, s.Length - 2));
			for (int icounter = 0; icounter < arrLists.Count; icounter++)
				ss.mUMultiplicities.Add(ParserSTEP.ParseInt(arrLists[icounter]));
			s = arrFields[ipos++];
			arrLists = ParserSTEP.SplitLineFields(s.Substring(1, s.Length - 2));
			for (int icounter = 0; icounter < arrLists.Count; icounter++)
				ss.mVMultiplicities.Add(ParserSTEP.ParseInt(arrLists[icounter]));
			s = arrFields[ipos++];
			arrLists = ParserSTEP.SplitLineFields(s.Substring(1, s.Length - 2));
			for (int icounter = 0; icounter < arrLists.Count; icounter++)
				ss.mUKnots.Add(ParserSTEP.ParseDouble(arrLists[icounter]));
			s = arrFields[ipos++];
			arrLists = ParserSTEP.SplitLineFields(s.Substring(1, s.Length - 2));
			for (int icounter = 0; icounter < arrLists.Count; icounter++)
				ss.mVKnots.Add(ParserSTEP.ParseDouble(arrLists[icounter]));
			ss.mKnotSpec = (IfcKnotType)Enum.Parse(typeof(IfcKnotType), arrFields[ipos++].Replace(".", ""));
		}
예제 #5
0
 internal static IfcBSplineSurfaceWithKnots Parse(string str)
 {
     IfcBSplineSurfaceWithKnots s = new IfcBSplineSurfaceWithKnots();
     int pos = 0;
     s.Parse(str, ref pos, str.Length);
     return s;
 }