コード例 #1
0
 internal static void parseFields(IfcOpeningElement e, List <string> arrFields, ref int ipos, Schema schema)
 {
     IfcFeatureElementSubtraction.parseFields(e, arrFields, ref ipos);
     if (schema != Schema.IFC2x3)
     {
         e.mPredefinedType = (IfcOpeningElementTypeEnum)Enum.Parse(typeof(IfcOpeningElementTypeEnum), arrFields[ipos++].Replace(".", ""));
     }
 }
コード例 #2
0
ファイル: IFC V.cs プロジェクト: PlumpMath/GeometryGymIFC-1
 internal static void parseFields(IfcVoidingFeature e, List <string> arrFields, ref int ipos, ReleaseVersion schema)
 {
     IfcFeatureElementSubtraction.parseFields(e, arrFields, ref ipos);
     if (schema != ReleaseVersion.IFC2x3)
     {
         e.mPredefinedType = (IfcVoidingFeatureTypeEnum)Enum.Parse(typeof(IfcVoidingFeatureTypeEnum), arrFields[ipos++].Replace(".", ""));
     }
 }
コード例 #3
0
ファイル: IFC F.cs プロジェクト: xeolabs/GeometryGymIFC
        protected IfcFeatureElementSubtraction(DatabaseIfc db, IfcFeatureElementSubtraction e, DuplicateOptions options)
            : base(db, e, options)
        {
            IfcRelVoidsElement relVoidsElement = e.VoidsElement;

            VoidsElement = db.Factory.Duplicate(relVoidsElement, new DuplicateOptions()
            {
                DuplicateDownstream = false
            }) as IfcRelVoidsElement;
            VoidsElement.RelatingBuildingElement = db.Factory.Duplicate(relVoidsElement.RelatingBuildingElement, new DuplicateOptions()
            {
                DuplicateDownstream = false
            }) as IfcElement;
            VoidsElement.RelatedOpeningElement = this;
        }
コード例 #4
0
ファイル: IFC R.cs プロジェクト: jenca-cloud/ggIFC
		public IfcRelVoidsElement(IfcElement host, IfcFeatureElementSubtraction fes)
			: base(host.mDatabase) { mRelatingBuildingElement = host.mIndex; host.mHasOpenings.Add(this); mRelatedOpeningElement = fes.mIndex; fes.mVoidsElement = this; }
コード例 #5
0
ファイル: IFC F.cs プロジェクト: jmirtsch/GeometryGymIFC
 protected static void parseFields(IfcFeatureElementSubtraction e, List<string> arrFields, ref int ipos)
 {
     IfcFeatureElement.parseFields(e, arrFields, ref ipos);
 }
コード例 #6
0
ファイル: IFC F.cs プロジェクト: jmirtsch/GeometryGymIFC
 protected IfcFeatureElementSubtraction(DatabaseIfc db, IfcFeatureElementSubtraction s)
     : base(db,s)
 {
 }
コード例 #7
0
ファイル: IFC F.cs プロジェクト: jenca-cloud/ggIFC
		protected IfcFeatureElementSubtraction(IfcFeatureElementSubtraction s) : base(s) { }