Beispiel #1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 9:
                _interiorOrExteriorSpace = (IfcInternalOrExternalEnum)System.Enum.Parse(typeof(IfcInternalOrExternalEnum), value.EnumVal, true);
                return;

            case 10:
                _elevationWithFlooring = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Beispiel #2
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.IfcParse(propIndex, value);
                break;

            case 9:
                _interiorOrExteriorSpace =
                    (IfcInternalOrExternalEnum)Enum.Parse(typeof(IfcInternalOrExternalEnum), value.EnumVal, true);
                break;

            case 10:
                _elevationWithFlooring = value.RealVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Beispiel #3
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 2:
                _eccentricityInX = value.RealVal;
                return;

            case 3:
                _eccentricityInY = value.RealVal;
                return;

            case 4:
                _eccentricityInZ = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _distanceAlong = value.RealVal;
                return;

            case 1:
                _offsetLateral = value.RealVal;
                return;

            case 2:
                _offsetVertical = value.RealVal;
                return;

            case 3:
                _offsetLongitudinal = value.RealVal;
                return;

            case 4:
                _alongHorizontal = value.BooleanVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Beispiel #5
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
                base.IfcParse(propIndex, value);
                break;

            case 2:
                _eccentricityInX = value.RealVal;
                break;

            case 3:
                _eccentricityInY = value.RealVal;
                break;

            case 4:
                _eccentricityInZ = value.RealVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Beispiel #6
0
 public IfcBuilding(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum?__CompositionType, IfcLengthMeasure?__ElevationOfRefHeight, IfcLengthMeasure?__ElevationOfTerrain, IfcPostalAddress __BuildingAddress)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName, __CompositionType)
 {
     this._ElevationOfRefHeight = __ElevationOfRefHeight;
     this._ElevationOfTerrain   = __ElevationOfTerrain;
     this._BuildingAddress      = __BuildingAddress;
 }
Beispiel #7
0
        public virtual void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _longitudinalStartPosition = value.RealVal;
                break;

            case 1:
                _longitudinalEndPosition = value.RealVal;
                break;

            case 2:
                _transversePosition = value.RealVal;
                break;

            case 3:
                _reinforcementRole =
                    (IfcReinforcingBarRoleEnum)
                    Enum.Parse(typeof(IfcReinforcingBarRoleEnum), value.EnumVal, true);
                break;

            case 4:
                _crossSectionArea = (IfcSectionProperties)value.EntityVal;
                break;

            case 5:
                ((IXbimNoNotifyCollection)_crossSectionReinforcementDefinitions).Add((IfcReinforcementBarProperties)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Beispiel #8
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.IfcParse(propIndex, value);
                break;

            case 9:
                _elevationOfRefHeight = value.RealVal;
                break;

            case 10:
                _elevationOfTerrain = value.RealVal;
                break;

            case 11:
                _buildingAddress = (IfcPostalAddress)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 9:
                _elevationOfRefHeight = value.RealVal;
                return;

            case 10:
                _elevationOfTerrain = value.RealVal;
                return;

            case 11:
                _buildingAddress = (IfcPostalAddress)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        public virtual void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _totalCrossSectionArea = value.RealVal;
                break;

            case 1:
                _steelGrade = value.StringVal;
                break;

            case 2:
                _barSurface =
                    (IfcReinforcingBarSurfaceEnum)
                    Enum.Parse(typeof(IfcReinforcingBarSurfaceEnum), value.EnumVal, true);
                break;

            case 3:
                _effectiveDepth = value.RealVal;
                break;

            case 4:
                _nominalBarDiameter = value.RealVal;
                break;

            case 5:
                _barCount = value.NumberVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
 public IfcSlippageConnectionCondition(IfcLabel?__Name, IfcLengthMeasure?__SlippageX, IfcLengthMeasure?__SlippageY, IfcLengthMeasure?__SlippageZ)
     : base(__Name)
 {
     this._SlippageX = __SlippageX;
     this._SlippageY = __SlippageY;
     this._SlippageZ = __SlippageZ;
 }
Beispiel #12
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 7:
                _predefinedType = (IfcReferentTypeEnum)System.Enum.Parse(typeof(IfcReferentTypeEnum), value.EnumVal, true);
                return;

            case 8:
                _restartDistance = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _totalCrossSectionArea = value.RealVal;
                return;

            case 1:
                _steelGrade = value.StringVal;
                return;

            case 2:
                _barSurface = (IfcReinforcingBarSurfaceEnum)System.Enum.Parse(typeof(IfcReinforcingBarSurfaceEnum), value.EnumVal, true);
                return;

            case 3:
                _effectiveDepth = value.RealVal;
                return;

            case 4:
                _nominalBarDiameter = value.RealVal;
                return;

            case 5:
                _barCount = value.NumberVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Beispiel #14
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _longitudinalStartPosition = value.RealVal;
                return;

            case 1:
                _longitudinalEndPosition = value.RealVal;
                return;

            case 2:
                _transversePosition = value.RealVal;
                return;

            case 3:
                _reinforcementRole = (IfcReinforcingBarRoleEnum)System.Enum.Parse(typeof(IfcReinforcingBarRoleEnum), value.EnumVal, true);
                return;

            case 4:
                _sectionDefinition = (IfcSectionProperties)(value.EntityVal);
                return;

            case 5:
                _crossSectionReinforcementDefinitions.InternalAdd((IfcReinforcementBarProperties)value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
 public IfcConnectionPointEccentricity(IfcPointOrVertexPoint __PointOnRelatingElement, IfcPointOrVertexPoint __PointOnRelatedElement, IfcLengthMeasure?__EccentricityInX, IfcLengthMeasure?__EccentricityInY, IfcLengthMeasure?__EccentricityInZ)
     : base(__PointOnRelatingElement, __PointOnRelatedElement)
 {
     this._EccentricityInX = __EccentricityInX;
     this._EccentricityInY = __EccentricityInY;
     this._EccentricityInZ = __EccentricityInZ;
 }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 4:
                _liningDepth = value.RealVal;
                return;

            case 5:
                _liningThickness = value.RealVal;
                return;

            case 6:
                _thresholdDepth = value.RealVal;
                return;

            case 7:
                _thresholdThickness = value.RealVal;
                return;

            case 8:
                _transomThickness = value.RealVal;
                return;

            case 9:
                _transomOffset = value.RealVal;
                return;

            case 10:
                _liningOffset = value.RealVal;
                return;

            case 11:
                _thresholdOffset = value.RealVal;
                return;

            case 12:
                _casingThickness = value.RealVal;
                return;

            case 13:
                _casingDepth = value.RealVal;
                return;

            case 14:
                _shapeAspectStyle = (IfcShapeAspect)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
                base.IfcParse(propIndex, value);
                break;

            case 4:
                _liningDepth = value.RealVal;
                break;

            case 5:
                _liningThickness = value.RealVal;
                break;

            case 6:
                _thresholdDepth = value.RealVal;
                break;

            case 7:
                _thresholdThickness = value.RealVal;
                break;

            case 8:
                _transomThickness = value.RealVal;
                break;

            case 9:
                _transomOffset = value.RealVal;
                break;

            case 10:
                _liningOffset = value.RealVal;
                break;

            case 11:
                _thresholdOffset = value.RealVal;
                break;

            case 12:
                _casingThickness = value.RealVal;
                break;

            case 13:
                _casingDepth = value.RealVal;
                break;

            case 14:
                _shapeAspectStyle = (IfcShapeAspect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Beispiel #18
0
 public IfcDistanceExpression(IfcLengthMeasure __DistanceAlong, IfcLengthMeasure?__OffsetLateral, IfcLengthMeasure?__OffsetVertical, IfcLengthMeasure?__OffsetLongitudinal, IfcBoolean?__AlongHorizontal)
 {
     this.DistanceAlong      = __DistanceAlong;
     this.OffsetLateral      = __OffsetLateral;
     this.OffsetVertical     = __OffsetVertical;
     this.OffsetLongitudinal = __OffsetLongitudinal;
     this.AlongHorizontal    = __AlongHorizontal;
 }
Beispiel #19
0
 private double ToDouble(IfcLengthMeasure?totalHeight)
 {
     if (!totalHeight.HasValue)
     {
         return(double.NaN);
     }
     return((double)totalHeight.Value.Value);
 }
Beispiel #20
0
 public IfcSite(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum __CompositionType, IfcCompoundPlaneAngleMeasure?__RefLatitude, IfcCompoundPlaneAngleMeasure?__RefLongitude, IfcLengthMeasure?__RefElevation, IfcLabel?__LandTitleNumber, IfcPostalAddress __SiteAddress)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName, __CompositionType)
 {
     this._RefLatitude     = __RefLatitude;
     this._RefLongitude    = __RefLongitude;
     this._RefElevation    = __RefElevation;
     this._LandTitleNumber = __LandTitleNumber;
     this._SiteAddress     = __SiteAddress;
 }
Beispiel #21
0
 public IfcReinforcementBarProperties(IfcAreaMeasure __TotalCrossSectionArea, IfcLabel __SteelGrade, IfcReinforcingBarSurfaceEnum?__BarSurface, IfcLengthMeasure?__EffectiveDepth, IfcPositiveLengthMeasure?__NominalBarDiameter, IfcCountMeasure?__BarCount)
 {
     this._TotalCrossSectionArea = __TotalCrossSectionArea;
     this._SteelGrade            = __SteelGrade;
     this._BarSurface            = __BarSurface;
     this._EffectiveDepth        = __EffectiveDepth;
     this._NominalBarDiameter    = __NominalBarDiameter;
     this._BarCount = __BarCount;
 }
Beispiel #22
0
 public IfcSectionReinforcementProperties(IfcLengthMeasure __LongitudinalStartPosition, IfcLengthMeasure __LongitudinalEndPosition, IfcLengthMeasure?__TransversePosition, IfcReinforcingBarRoleEnum __ReinforcementRole, IfcSectionProperties __SectionDefinition, IfcReinforcementBarProperties[] __CrossSectionReinforcementDefinitions)
 {
     this._LongitudinalStartPosition            = __LongitudinalStartPosition;
     this._LongitudinalEndPosition              = __LongitudinalEndPosition;
     this._TransversePosition                   = __TransversePosition;
     this._ReinforcementRole                    = __ReinforcementRole;
     this._SectionDefinition                    = __SectionDefinition;
     this._CrossSectionReinforcementDefinitions = new HashSet <IfcReinforcementBarProperties>(__CrossSectionReinforcementDefinitions);
 }
 public IfcRelConnectsStructuralMember(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcStructuralMember __RelatingStructuralMember, IfcStructuralConnection __RelatedStructuralConnection, IfcBoundaryCondition __AppliedCondition, IfcStructuralConnectionCondition __AdditionalConditions, IfcLengthMeasure?__SupportedLength, IfcAxis2Placement3D __ConditionCoordinateSystem)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._RelatingStructuralMember    = __RelatingStructuralMember;
     this._RelatedStructuralConnection = __RelatedStructuralConnection;
     this._AppliedCondition            = __AppliedCondition;
     this._AdditionalConditions        = __AdditionalConditions;
     this._SupportedLength             = __SupportedLength;
     this._ConditionCoordinateSystem   = __ConditionCoordinateSystem;
 }
Beispiel #24
0
 public IfcStructuralLoadSingleDisplacement(IfcLabel?__Name, IfcLengthMeasure?__DisplacementX, IfcLengthMeasure?__DisplacementY, IfcLengthMeasure?__DisplacementZ, IfcPlaneAngleMeasure?__RotationalDisplacementRX, IfcPlaneAngleMeasure?__RotationalDisplacementRY, IfcPlaneAngleMeasure?__RotationalDisplacementRZ)
     : base(__Name)
 {
     this._DisplacementX            = __DisplacementX;
     this._DisplacementY            = __DisplacementY;
     this._DisplacementZ            = __DisplacementZ;
     this._RotationalDisplacementRX = __RotationalDisplacementRX;
     this._RotationalDisplacementRY = __RotationalDisplacementRY;
     this._RotationalDisplacementRZ = __RotationalDisplacementRZ;
 }
Beispiel #25
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 9:
                if (!_refLatitude.HasValue)
                {
                    _refLatitude = new IfcCompoundPlaneAngleMeasure();
                }
                var refLatitude = _refLatitude.Value;
                IfcCompoundPlaneAngleMeasure.Add(ref refLatitude, value.IntegerVal);
                _refLatitude = refLatitude;
                return;

            case 10:
                if (!_refLongitude.HasValue)
                {
                    _refLongitude = new IfcCompoundPlaneAngleMeasure();
                }
                var refLongitude = _refLongitude.Value;
                IfcCompoundPlaneAngleMeasure.Add(ref refLongitude, value.IntegerVal);
                _refLongitude = refLongitude;
                return;

            case 11:
                _refElevation = value.RealVal;
                return;

            case 12:
                _landTitleNumber = value.StringVal;
                return;

            case 13:
                _siteAddress = (IfcPostalAddress)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Beispiel #26
0
 public IfcDoorLiningProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPositiveLengthMeasure?__LiningDepth, IfcPositiveLengthMeasure?__LiningThickness, IfcPositiveLengthMeasure?__ThresholdDepth, IfcPositiveLengthMeasure?__ThresholdThickness, IfcPositiveLengthMeasure?__TransomThickness, IfcLengthMeasure?__TransomOffset, IfcLengthMeasure?__LiningOffset, IfcLengthMeasure?__ThresholdOffset, IfcPositiveLengthMeasure?__CasingThickness, IfcPositiveLengthMeasure?__CasingDepth, IfcShapeAspect __ShapeAspectStyle)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._LiningDepth        = __LiningDepth;
     this._LiningThickness    = __LiningThickness;
     this._ThresholdDepth     = __ThresholdDepth;
     this._ThresholdThickness = __ThresholdThickness;
     this._TransomThickness   = __TransomThickness;
     this._TransomOffset      = __TransomOffset;
     this._LiningOffset       = __LiningOffset;
     this._ThresholdOffset    = __ThresholdOffset;
     this._CasingThickness    = __CasingThickness;
     this._CasingDepth        = __CasingDepth;
     this._ShapeAspectStyle   = __ShapeAspectStyle;
 }
Beispiel #27
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.IfcParse(propIndex, value);
                break;

            case 9:
                if (!_refLatitude.HasValue)
                {
                    _refLatitude = new IfcCompoundPlaneAngleMeasure();
                }
                _refLatitude = _refLatitude.Value.Add((int)value.IntegerVal);
                break;

            case 10:
                if (!_refLongitude.HasValue)
                {
                    _refLongitude = new IfcCompoundPlaneAngleMeasure();
                }
                _refLongitude = _refLongitude.Value.Add((int)value.IntegerVal);
                break;

            case 11:
                _refElevation = value.RealVal;
                break;

            case 12:
                _landTitleNumber = value.StringVal;
                break;

            case 13:
                _siteAddress = (IfcPostalAddress)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _startDistAlong = value.RealVal;
                return;

            case 1:
                _segments.InternalAdd((IfcAlignment2DHorizontalSegment)value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
 public IfcWindowLiningProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPositiveLengthMeasure?__LiningDepth, IfcNonNegativeLengthMeasure?__LiningThickness, IfcNonNegativeLengthMeasure?__TransomThickness, IfcNonNegativeLengthMeasure?__MullionThickness, IfcNormalisedRatioMeasure?__FirstTransomOffset, IfcNormalisedRatioMeasure?__SecondTransomOffset, IfcNormalisedRatioMeasure?__FirstMullionOffset, IfcNormalisedRatioMeasure?__SecondMullionOffset, IfcShapeAspect __ShapeAspectStyle, IfcLengthMeasure?__LiningOffset, IfcLengthMeasure?__LiningToPanelOffsetX, IfcLengthMeasure?__LiningToPanelOffsetY)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this.LiningDepth          = __LiningDepth;
     this.LiningThickness      = __LiningThickness;
     this.TransomThickness     = __TransomThickness;
     this.MullionThickness     = __MullionThickness;
     this.FirstTransomOffset   = __FirstTransomOffset;
     this.SecondTransomOffset  = __SecondTransomOffset;
     this.FirstMullionOffset   = __FirstMullionOffset;
     this.SecondMullionOffset  = __SecondMullionOffset;
     this.ShapeAspectStyle     = __ShapeAspectStyle;
     this.LiningOffset         = __LiningOffset;
     this.LiningToPanelOffsetX = __LiningToPanelOffsetX;
     this.LiningToPanelOffsetY = __LiningToPanelOffsetY;
 }
 public IfcStructuralProfileProperties(IfcLabel?__ProfileName, IfcProfileDef __ProfileDefinition, IfcMassPerLengthMeasure?__PhysicalWeight, IfcPositiveLengthMeasure?__Perimeter, IfcPositiveLengthMeasure?__MinimumPlateThickness, IfcPositiveLengthMeasure?__MaximumPlateThickness, IfcAreaMeasure?__CrossSectionArea, IfcMomentOfInertiaMeasure?__TorsionalConstantX, IfcMomentOfInertiaMeasure?__MomentOfInertiaYZ, IfcMomentOfInertiaMeasure?__MomentOfInertiaY, IfcMomentOfInertiaMeasure?__MomentOfInertiaZ, IfcWarpingConstantMeasure?__WarpingConstant, IfcLengthMeasure?__ShearCentreZ, IfcLengthMeasure?__ShearCentreY, IfcAreaMeasure?__ShearDeformationAreaZ, IfcAreaMeasure?__ShearDeformationAreaY, IfcSectionModulusMeasure?__MaximumSectionModulusY, IfcSectionModulusMeasure?__MinimumSectionModulusY, IfcSectionModulusMeasure?__MaximumSectionModulusZ, IfcSectionModulusMeasure?__MinimumSectionModulusZ, IfcSectionModulusMeasure?__TorsionalSectionModulus, IfcLengthMeasure?__CentreOfGravityInX, IfcLengthMeasure?__CentreOfGravityInY)
     : base(__ProfileName, __ProfileDefinition, __PhysicalWeight, __Perimeter, __MinimumPlateThickness, __MaximumPlateThickness, __CrossSectionArea)
 {
     this._TorsionalConstantX      = __TorsionalConstantX;
     this._MomentOfInertiaYZ       = __MomentOfInertiaYZ;
     this._MomentOfInertiaY        = __MomentOfInertiaY;
     this._MomentOfInertiaZ        = __MomentOfInertiaZ;
     this._WarpingConstant         = __WarpingConstant;
     this._ShearCentreZ            = __ShearCentreZ;
     this._ShearCentreY            = __ShearCentreY;
     this._ShearDeformationAreaZ   = __ShearDeformationAreaZ;
     this._ShearDeformationAreaY   = __ShearDeformationAreaY;
     this._MaximumSectionModulusY  = __MaximumSectionModulusY;
     this._MinimumSectionModulusY  = __MinimumSectionModulusY;
     this._MaximumSectionModulusZ  = __MaximumSectionModulusZ;
     this._MinimumSectionModulusZ  = __MinimumSectionModulusZ;
     this._TorsionalSectionModulus = __TorsionalSectionModulus;
     this._CentreOfGravityInX      = __CentreOfGravityInX;
     this._CentreOfGravityInY      = __CentreOfGravityInY;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _longitudinalStartPosition = value.RealVal;
             break;
         case 1:
             _longitudinalEndPosition = value.RealVal;
             break;
         case 2:
             _transversePosition = value.RealVal;
             break;
         case 3:
             _reinforcementRole =
                 (IfcReinforcingBarRoleEnum)
                 Enum.Parse(typeof (IfcReinforcingBarRoleEnum), value.EnumVal, true);
             break;
         case 4:
             _crossSectionArea = (IfcSectionProperties) value.EntityVal;
             break;
         case 5:
             ((IXbimNoNotifyCollection)_crossSectionReinforcementDefinitions).Add((IfcReinforcementBarProperties) value.EntityVal);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Beispiel #32
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
             base.IfcParse(propIndex, value);
             break;
         case 9:
             _elevationOfRefHeight = value.RealVal;
             break;
         case 10:
             _elevationOfTerrain = value.RealVal;
             break;
         case 11:
             _buildingAddress = (IfcPostalAddress) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                case 6:
                    base.IfcParse(propIndex, value);
                    break;
                case 7:
                    _torsionalConstantX = value.RealVal;
                    break;
                case 8:
                    _momentOfInertiaYZ = value.RealVal;
                    break;
                case 9:
                    _momentOfInertiaY = value.RealVal;
                    break;
                case 10:
                    _momentOfInertiaZ = value.RealVal;
                    break;
                case 11:
                    _warpingConstant = value.RealVal;
                    break;
                case 12:
                    _shearCentreZ = value.RealVal;
                    break;
                case 13:
                    _shearCentreY = value.RealVal;
                    break;
                case 14:
                    _shearDeformationAreaZ = value.RealVal;
                    break;
                case 15:
                    _shearDeformationAreaY = value.RealVal;
                    break;
                case 16:
                    _maximumSectionModulusY = value.RealVal;
                    break;
                case 17:
                    _minimumSectionModulusY = value.RealVal;
                    break;
                case 18:
                    _maximumSectionModulusZ = value.RealVal;
                    break;
                case 19:
                    _minimumSectionModulusZ = value.RealVal;
                    break;
                case 20:
                    _centreOfGravityInX = value.RealVal;
                    break;
                case 21:
                    _centreOfGravityInY = value.RealVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Beispiel #34
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                case 6:
                case 7:
                case 8:
                    base.IfcParse(propIndex, value);
                    break;
                case 9:
                    if (!_refLatitude.HasValue) _refLatitude = new IfcCompoundPlaneAngleMeasure();
                    _refLatitude = _refLatitude.Value.Add((int)value.IntegerVal);
                    break;
                case 10:
                    if (!_refLongitude.HasValue) _refLongitude = new IfcCompoundPlaneAngleMeasure();
                    _refLongitude = _refLongitude.Value.Add((int)value.IntegerVal);
                    break;
                case 11:
                    _refElevation = value.RealVal;
                    break;
                case 12:
                    _landTitleNumber = value.StringVal;
                    break;
                case 13:
                    _siteAddress = (IfcPostalAddress)value.EntityVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _totalCrossSectionArea = value.RealVal;
             break;
         case 1:
             _steelGrade = value.StringVal;
             break;
         case 2:
             _barSurface =
                 (IfcReinforcingBarSurfaceEnum)
                 Enum.Parse(typeof (IfcReinforcingBarSurfaceEnum), value.EnumVal, true);
             break;
         case 3:
             _effectiveDepth = value.RealVal;
             break;
         case 4:
             _nominalBarDiameter = value.RealVal;
             break;
         case 5:
             _barCount = value.NumberVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             base.IfcParse(propIndex, value);
             break;
         case 1:
             _displacementX = value.RealVal;
             break;
         case 2:
             _displacementY = value.RealVal;
             break;
         case 3:
             _displacementZ = value.RealVal;
             break;
         case 4:
             _rotationalDisplacementRX = value.RealVal;
             break;
         case 5:
             _rotationalDisplacementRY = value.RealVal;
             break;
         case 6:
             _rotationalDisplacementRZ = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             base.IfcParse(propIndex, value);
             break;
         case 1:
             _slippageX = value.RealVal;
             break;
         case 2:
             _slippageY = value.RealVal;
             break;
         case 3:
             _slippageZ = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
             base.IfcParse(propIndex, value);
             break;
         case 4:
             _relatingStructuralMember = (IfcStructuralMember) value.EntityVal;
             break;
         case 5:
             _relatedStructuralConnection = (IfcStructuralConnection) value.EntityVal;
             break;
         case 6:
             _appliedCondition = (IfcBoundaryCondition) value.EntityVal;
             break;
         case 7:
             _additionalConditions = (IfcStructuralConnectionCondition) value.EntityVal;
             break;
         case 8:
             _supportedLength = value.RealVal;
             break;
         case 9:
             _conditionCoordinateSystem = (IfcAxis2Placement3D) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Beispiel #39
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
             base.IfcParse(propIndex, value);
             break;
         case 9:
             _interiorOrExteriorSpace =
                 (IfcInternalOrExternalEnum) Enum.Parse(typeof (IfcInternalOrExternalEnum), value.EnumVal, true);
             break;
         case 10:
             _elevationWithFlooring = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
             base.IfcParse(propIndex, value);
             break;
         case 4:
             _liningDepth = value.RealVal;
             break;
         case 5:
             _liningThickness = value.RealVal;
             break;
         case 6:
             _thresholdDepth = value.RealVal;
             break;
         case 7:
             _thresholdThickness = value.RealVal;
             break;
         case 8:
             _transomThickness = value.RealVal;
             break;
         case 9:
             _transomOffset = value.RealVal;
             break;
         case 10:
             _liningOffset = value.RealVal;
             break;
         case 11:
             _thresholdOffset = value.RealVal;
             break;
         case 12:
             _casingThickness = value.RealVal;
             break;
         case 13:
             _casingDepth = value.RealVal;
             break;
         case 14:
             _shapeAspectStyle = (IfcShapeAspect) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
             base.IfcParse(propIndex, value);
             break;
         case 9:
             _elevation = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
             base.IfcParse(propIndex, value);
             break;
         case 2:
             _eccentricityInX = value.RealVal;
             break;
         case 3:
             _eccentricityInY = value.RealVal;
             break;
         case 4:
             _eccentricityInZ = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }