Example #1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 3:
                _bottomFlangeWidth = value.RealVal;
                return;

            case 4:
                _overallDepth = value.RealVal;
                return;

            case 5:
                _webThickness = value.RealVal;
                return;

            case 6:
                _bottomFlangeThickness = value.RealVal;
                return;

            case 7:
                _bottomFlangeFilletRadius = value.RealVal;
                return;

            case 8:
                _topFlangeWidth = value.RealVal;
                return;

            case 9:
                _topFlangeThickness = value.RealVal;
                return;

            case 10:
                _topFlangeFilletRadius = value.RealVal;
                return;

            case 11:
                _bottomFlangeEdgeRadius = value.RealVal;
                return;

            case 12:
                _bottomFlangeSlope = value.RealVal;
                return;

            case 13:
                _topFlangeEdgeRadius = value.RealVal;
                return;

            case 14:
                _topFlangeSlope = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
 public IfcCircleHollowProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __Radius, IfcPositiveLengthMeasure __WallThickness)
     : base(__ProfileType, __ProfileName, __Position, __Radius)
 {
     this._WallThickness = __WallThickness;
 }
Example #3
0
 public IfcSphericalSurface(IfcAxis2Placement3D __Position, IfcPositiveLengthMeasure __Radius)
     : base(__Position)
 {
     this.Radius = __Radius;
 }
Example #4
0
 public IfcRectangleHollowProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __XDim, IfcPositiveLengthMeasure __YDim, IfcPositiveLengthMeasure __WallThickness, IfcNonNegativeLengthMeasure?__InnerFilletRadius, IfcNonNegativeLengthMeasure?__OuterFilletRadius)
     : base(__ProfileType, __ProfileName, __Position, __XDim, __YDim)
 {
     this.WallThickness     = __WallThickness;
     this.InnerFilletRadius = __InnerFilletRadius;
     this.OuterFilletRadius = __OuterFilletRadius;
 }
Example #5
0
 public IfcBlock(IfcAxis2Placement3D __Position, IfcPositiveLengthMeasure __XLength, IfcPositiveLengthMeasure __YLength, IfcPositiveLengthMeasure __ZLength)
     : base(__Position)
 {
     this.XLength = __XLength;
     this.YLength = __YLength;
     this.ZLength = __ZLength;
 }
Example #6
0
 public IfcTrapeziumProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __BottomXDim, IfcPositiveLengthMeasure __TopXDim, IfcPositiveLengthMeasure __YDim, IfcLengthMeasure __TopXOffset)
     : base(__ProfileType, __ProfileName, __Position)
 {
     this.BottomXDim = __BottomXDim;
     this.TopXDim    = __TopXDim;
     this.YDim       = __YDim;
     this.TopXOffset = __TopXOffset;
 }
Example #7
0
 public IfcBoundingBox(IfcCartesianPoint __Corner, IfcPositiveLengthMeasure __XDim, IfcPositiveLengthMeasure __YDim, IfcPositiveLengthMeasure __ZDim)
 {
     this.Corner = __Corner;
     this.XDim   = __XDim;
     this.YDim   = __YDim;
     this.ZDim   = __ZDim;
 }
 public IfcAlignment2DVerticalSegment(IfcBoolean?__TangentialContinuity, IfcLabel?__StartTag, IfcLabel?__EndTag, IfcLengthMeasure __StartDistAlong, IfcPositiveLengthMeasure __HorizontalLength, IfcLengthMeasure __StartHeight, IfcRatioMeasure __StartGradient)
     : base(__TangentialContinuity, __StartTag, __EndTag)
 {
     this._StartDistAlong   = __StartDistAlong;
     this._HorizontalLength = __HorizontalLength;
     this._StartHeight      = __StartHeight;
     this._StartGradient    = __StartGradient;
 }
Example #9
0
 public IfcSweptDiskSolidPolygonal(IfcCurve __Directrix, IfcPositiveLengthMeasure __Radius, IfcPositiveLengthMeasure?__InnerRadius, IfcParameterValue?__StartParam, IfcParameterValue?__EndParam, IfcPositiveLengthMeasure?__FilletRadius)
     : base(__Directrix, __Radius, __InnerRadius, __StartParam, __EndParam)
 {
     this.FilletRadius = __FilletRadius;
 }
Example #10
0
 protected IfcCurveSegment2D(IfcCartesianPoint __StartPoint, IfcPlaneAngleMeasure __StartDirection, IfcPositiveLengthMeasure __SegmentLength)
 {
     this.StartPoint     = __StartPoint;
     this.StartDirection = __StartDirection;
     this.SegmentLength  = __SegmentLength;
 }
Example #11
0
 public IfcRectangleProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __XDim, IfcPositiveLengthMeasure __YDim)
     : base(__ProfileType, __ProfileName, __Position)
 {
     this._XDim = __XDim;
     this._YDim = __YDim;
 }
 private static double RoundedRecPerimeter(IfcPositiveLengthMeasure XDim, IfcPositiveLengthMeasure YDim, IfcPositiveLengthMeasure RoundingRadius)
 {
     return
         (2 * Math.PI * RoundingRadius +      // circunference of 4 fillets
          2 * (XDim - (2 * RoundingRadius)) + // 2 sides, each removed of 2 fillets (x dim)
          2 * (YDim - (2 * RoundingRadius))); // 2 sides, each removed of 2 fillets (y dim)
 }
 private static double pita(IfcPositiveLengthMeasure cat1, IfcLengthMeasure cat2)
 {
     return(Math.Sqrt(Math.Pow(cat1, 2) + Math.Pow(cat2, 2)));
 }
 public IfcLightSourcePositional(IfcLabel?__Name, IfcColourRgb __LightColour, IfcNormalisedRatioMeasure?__AmbientIntensity, IfcNormalisedRatioMeasure?__Intensity, IfcCartesianPoint __Position, IfcPositiveLengthMeasure __Radius, IfcReal __ConstantAttenuation, IfcReal __DistanceAttenuation, IfcReal __QuadricAttenuation)
     : base(__Name, __LightColour, __AmbientIntensity, __Intensity)
 {
     this._Position            = __Position;
     this._Radius              = __Radius;
     this._ConstantAttenuation = __ConstantAttenuation;
     this._DistanceAttenuation = __DistanceAttenuation;
     this._QuadricAttenuation  = __QuadricAttenuation;
 }
Example #15
0
 public IfcAlignment2DVerSegLine(IfcBoolean?__TangentialContinuity, IfcLabel?__StartTag, IfcLabel?__EndTag, IfcLengthMeasure __StartDistAlong, IfcPositiveLengthMeasure __HorizontalLength, IfcLengthMeasure __StartHeight, IfcRatioMeasure __StartGradient)
     : base(__TangentialContinuity, __StartTag, __EndTag, __StartDistAlong, __HorizontalLength, __StartHeight, __StartGradient)
 {
 }
Example #16
0
 public IfcCircleProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __Radius)
     : base(__ProfileType, __ProfileName, __Position)
 {
     this.Radius = __Radius;
 }
Example #17
0
 public IfcTendon(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcIdentifier?__Tag, IfcLabel?__SteelGrade, IfcTendonTypeEnum __PredefinedType, IfcPositiveLengthMeasure __NominalDiameter, IfcAreaMeasure __CrossSectionArea, IfcForceMeasure?__TensionForce, IfcPressureMeasure?__PreStress, IfcNormalisedRatioMeasure?__FrictionCoefficient, IfcPositiveLengthMeasure?__AnchorageSlip, IfcPositiveLengthMeasure?__MinCurvatureRadius)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __Tag, __SteelGrade)
 {
     this._PredefinedType      = __PredefinedType;
     this._NominalDiameter     = __NominalDiameter;
     this._CrossSectionArea    = __CrossSectionArea;
     this._TensionForce        = __TensionForce;
     this._PreStress           = __PreStress;
     this._FrictionCoefficient = __FrictionCoefficient;
     this._AnchorageSlip       = __AnchorageSlip;
     this._MinCurvatureRadius  = __MinCurvatureRadius;
 }
 public IfcCraneRailAShapeProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel? __ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __OverallHeight, IfcPositiveLengthMeasure __BaseWidth2, IfcPositiveLengthMeasure? __Radius, IfcPositiveLengthMeasure __HeadWidth, IfcPositiveLengthMeasure __HeadDepth2, IfcPositiveLengthMeasure __HeadDepth3, IfcPositiveLengthMeasure __WebThickness, IfcPositiveLengthMeasure __BaseWidth4, IfcPositiveLengthMeasure __BaseDepth1, IfcPositiveLengthMeasure __BaseDepth2, IfcPositiveLengthMeasure __BaseDepth3, IfcPositiveLengthMeasure? __CentreOfGravityInY)
     : base(__ProfileType, __ProfileName, __Position)
 {
     this._OverallHeight = __OverallHeight;
     this._BaseWidth2 = __BaseWidth2;
     this._Radius = __Radius;
     this._HeadWidth = __HeadWidth;
     this._HeadDepth2 = __HeadDepth2;
     this._HeadDepth3 = __HeadDepth3;
     this._WebThickness = __WebThickness;
     this._BaseWidth4 = __BaseWidth4;
     this._BaseDepth1 = __BaseDepth1;
     this._BaseDepth2 = __BaseDepth2;
     this._BaseDepth3 = __BaseDepth3;
     this._CentreOfGravityInY = __CentreOfGravityInY;
 }
Example #19
0
 public IfcToroidalSurface(IfcAxis2Placement3D __Position, IfcPositiveLengthMeasure __MajorRadius, IfcPositiveLengthMeasure __MinorRadius)
     : base(__Position)
 {
     this._MajorRadius = __MajorRadius;
     this._MinorRadius = __MinorRadius;
 }
Example #20
0
 public IfcLineSegment2D(IfcCartesianPoint __StartPoint, IfcPlaneAngleMeasure __StartDirection, IfcPositiveLengthMeasure __SegmentLength)
     : base(__StartPoint, __StartDirection, __SegmentLength)
 {
 }
 public static IfcExtrudedAreaSolid MakeExtrudeAreaSolid(IfcStore m, IfcProfileDef profile, IfcAxis2Placement3D position,
                                                         IfcDirection direction, IfcPositiveLengthMeasure depth)
 {
     return(m.Instances.New <IfcExtrudedAreaSolid>(s =>
     {
         s.SweptArea = profile;
         s.Position = position;
         s.ExtrudedDirection = direction;
         s.Depth = depth;
     }));
 }
Example #22
0
 public IfcRightCircularCone(IfcAxis2Placement3D __Position, IfcPositiveLengthMeasure __Height, IfcPositiveLengthMeasure __BottomRadius)
     : base(__Position)
 {
     this._Height       = __Height;
     this._BottomRadius = __BottomRadius;
 }
Example #23
0
 public IfcRectangularPyramid(IfcAxis2Placement3D __Position, IfcPositiveLengthMeasure __XLength, IfcPositiveLengthMeasure __YLength, IfcPositiveLengthMeasure __Height)
     : base(__Position)
 {
     this._XLength = __XLength;
     this._YLength = __YLength;
     this._Height  = __Height;
 }
Example #24
0
 public IfcCurveStyleFontPattern(IfcLengthMeasure __VisibleSegmentLength, IfcPositiveLengthMeasure __InvisibleSegmentLength)
 {
     this.VisibleSegmentLength   = __VisibleSegmentLength;
     this.InvisibleSegmentLength = __InvisibleSegmentLength;
 }
 public IfcAlignment2DVerSegParabolicArc(IfcBoolean?__TangentialContinuity, IfcLabel?__StartTag, IfcLabel?__EndTag, IfcLengthMeasure __StartDistAlong, IfcPositiveLengthMeasure __HorizontalLength, IfcLengthMeasure __StartHeight, IfcRatioMeasure __StartGradient, IfcPositiveLengthMeasure __ParabolaConstant, IfcBoolean __IsConvex)
     : base(__TangentialContinuity, __StartTag, __EndTag, __StartDistAlong, __HorizontalLength, __StartHeight, __StartGradient)
 {
     this._ParabolaConstant = __ParabolaConstant;
     this._IsConvex         = __IsConvex;
 }
Example #26
0
 public IfcEllipse(IfcAxis2Placement __Position, IfcPositiveLengthMeasure __SemiAxis1, IfcPositiveLengthMeasure __SemiAxis2)
     : base(__Position)
 {
     this._SemiAxis1 = __SemiAxis1;
     this._SemiAxis2 = __SemiAxis2;
 }
Example #27
0
 public IfcEllipseProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __SemiAxis1, IfcPositiveLengthMeasure __SemiAxis2)
     : base(__ProfileType, __ProfileName, __Position)
 {
     this.SemiAxis1 = __SemiAxis1;
     this.SemiAxis2 = __SemiAxis2;
 }
Example #28
0
 public IfcReinforcingMesh(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcIdentifier?__Tag, IfcLabel?__SteelGrade, IfcPositiveLengthMeasure?__MeshLength, IfcPositiveLengthMeasure?__MeshWidth, IfcPositiveLengthMeasure __LongitudinalBarNominalDiameter, IfcPositiveLengthMeasure __TransverseBarNominalDiameter, IfcAreaMeasure __LongitudinalBarCrossSectionArea, IfcAreaMeasure __TransverseBarCrossSectionArea, IfcPositiveLengthMeasure __LongitudinalBarSpacing, IfcPositiveLengthMeasure __TransverseBarSpacing)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __Tag, __SteelGrade)
 {
     this._MeshLength = __MeshLength;
     this._MeshWidth  = __MeshWidth;
     this._LongitudinalBarNominalDiameter  = __LongitudinalBarNominalDiameter;
     this._TransverseBarNominalDiameter    = __TransverseBarNominalDiameter;
     this._LongitudinalBarCrossSectionArea = __LongitudinalBarCrossSectionArea;
     this._TransverseBarCrossSectionArea   = __TransverseBarCrossSectionArea;
     this._LongitudinalBarSpacing          = __LongitudinalBarSpacing;
     this._TransverseBarSpacing            = __TransverseBarSpacing;
 }
Example #29
0
 public IfcRoundedRectangleProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __XDim, IfcPositiveLengthMeasure __YDim, IfcPositiveLengthMeasure __RoundingRadius)
     : base(__ProfileType, __ProfileName, __Position, __XDim, __YDim)
 {
     this.RoundingRadius = __RoundingRadius;
 }
Example #30
0
		public IfcExtrudedAreaSolid(IfcProfileDef __SweptArea, IfcAxis2Placement3D __Position, IfcDirection __ExtrudedDirection, IfcPositiveLengthMeasure __Depth)
			: base(__SweptArea, __Position)
		{
			this._ExtrudedDirection = __ExtrudedDirection;
			this._Depth = __Depth;
		}