Inheritance: IfcSpatialStructureElement, IfcSpaceBoundarySelect
Ejemplo n.º 1
0
		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;
			}
		}
Ejemplo n.º 2
0
 public Pset_SpaceCommon(IfcSpace instance)
     : base(instance.mDatabase, "Pset_SpaceCommon")
 {
     DefinesOccurrence.Assign(instance);
 }
Ejemplo n.º 3
0
 public Pset_SpaceOccupancyRequirements(IfcSpace instance)
     : base(instance.mDatabase, "Pset_SpaceOccupancyRequirements")
 {
     DefinesOccurrence.Assign(instance);
 }
Ejemplo n.º 4
0
 public Qto_SpaceBaseQuantities(IfcSpace instance) : base(instance)
 {
 }
Ejemplo n.º 5
0
		internal static IfcSpace Parse(string strDef) { IfcSpace s = new IfcSpace(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
Ejemplo n.º 6
0
		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++]);
		}
Ejemplo n.º 7
0
		internal IfcSpace(IfcSpace p) : base(p) { mPredefinedType = p.mPredefinedType; mElevationWithFlooring = p.mElevationWithFlooring; }
Ejemplo n.º 8
0
		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;
		}