상속: IfcSpatialStructureElement, IfcSpaceBoundarySelect
예제 #1
0
파일: IFC R.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcRelCoversSpaces(IfcSpace s, IfcCovering covering) : base(s.mDatabase)
		{
			mRelatedSpace = s.mIndex;
			s.mHasCoverings.Add(this);
			if (covering != null)
			{
				mRelatedCoverings.Add(covering.mIndex);
				covering.mCoversSpaces = this;
			}
		}
예제 #2
0
 public Pset_SpaceCommon(IfcSpace instance)
     : base(instance.mDatabase, "Pset_SpaceCommon")
 {
     DefinesOccurrence.Assign(instance);
 }
예제 #3
0
 public Pset_SpaceOccupancyRequirements(IfcSpace instance)
     : base(instance.mDatabase, "Pset_SpaceOccupancyRequirements")
 {
     DefinesOccurrence.Assign(instance);
 }
예제 #4
0
 public Qto_SpaceBaseQuantities(IfcSpace instance) : base(instance)
 {
 }
예제 #5
0
파일: IFC S.cs 프로젝트: jenca-cloud/ggIFC
		internal static IfcSpace Parse(string strDef) { IfcSpace s = new IfcSpace(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
예제 #6
0
파일: IFC S.cs 프로젝트: jenca-cloud/ggIFC
		internal static void parseFields(IfcSpace gp, List<string> arrFields, ref int ipos)
		{
			IfcSpatialStructureElement.parseFields(gp, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s[0] == '.')
				gp.mPredefinedType = (IfcSpaceTypeEnum)Enum.Parse(typeof(IfcSpaceTypeEnum), s.Replace(".", ""));
			gp.mElevationWithFlooring = ParserSTEP.ParseDouble(arrFields[ipos++]);
		}
예제 #7
0
파일: IFC S.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcSpace(IfcSpace p) : base(p) { mPredefinedType = p.mPredefinedType; mElevationWithFlooring = p.mElevationWithFlooring; }
예제 #8
0
파일: IFC S.cs 프로젝트: jenca-cloud/ggIFC
		internal bool addSpace(IfcSpace s)
		{
			for (int icounter = 0; icounter < mIsDecomposedBy.Count; icounter++)
			{
				IfcRelAggregates rd = mIsDecomposedBy[icounter];
				if (rd.Description.EndsWith("Spaces", true, System.Globalization.CultureInfo.CurrentCulture))
					return rd.addObject(s);
			}
			IfcRelAggregates ra = new IfcRelAggregates(mDatabase, KeyWord, "Space", this, s);
			return true;
		}