Ejemplo n.º 1
0
 public IfcCartesianTransformationOperator(IfcDirection __Axis1, IfcDirection __Axis2, IfcCartesianPoint __LocalOrigin, IfcReal?__Scale)
 {
     this._Axis1       = __Axis1;
     this._Axis2       = __Axis2;
     this._LocalOrigin = __LocalOrigin;
     this._Scale       = __Scale;
 }
Ejemplo n.º 2
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
                base.IfcParse(propIndex, value);
                break;

            case 2:
                _coordinateSpaceDimension = (sbyte)value.IntegerVal;
                break;

            case 3:
                _precision = value.RealVal;
                break;

            case 4:
                _worldCoordinateSystem = (IfcAxis2Placement)value.EntityVal;
                break;

            case 5:
                _trueNorth = (IfcDirection)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Ejemplo n.º 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:
                _coordinateSpaceDimension = value.IntegerVal;
                return;

            case 3:
                _precision = value.RealVal;
                return;

            case 4:
                _worldCoordinateSystem = (IfcAxis2Placement)(value.EntityVal);
                return;

            case 5:
                _trueNorth = (IfcDirection)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 4
0
 public IfcLightSourceSpot(IfcLabel?__Name, IfcColourRgb __LightColour, IfcNormalisedRatioMeasure?__AmbientIntensity, IfcNormalisedRatioMeasure?__Intensity, IfcCartesianPoint __Position, IfcPositiveLengthMeasure __Radius, IfcReal __ConstantAttenuation, IfcReal __DistanceAttenuation, IfcReal __QuadricAttenuation, IfcDirection __Orientation, IfcReal?__ConcentrationExponent, IfcPositivePlaneAngleMeasure __SpreadAngle, IfcPositivePlaneAngleMeasure __BeamWidthAngle)
     : base(__Name, __LightColour, __AmbientIntensity, __Intensity, __Position, __Radius, __ConstantAttenuation, __DistanceAttenuation, __QuadricAttenuation)
 {
     this._Orientation           = __Orientation;
     this._ConcentrationExponent = __ConcentrationExponent;
     this._SpreadAngle           = __SpreadAngle;
     this._BeamWidthAngle        = __BeamWidthAngle;
 }
 public IfcGeometricRepresentationContext(IfcLabel?__ContextIdentifier, IfcLabel?__ContextType, IfcDimensionCount __CoordinateSpaceDimension, IfcReal?__Precision, IfcAxis2Placement __WorldCoordinateSystem, IfcDirection __TrueNorth)
     : base(__ContextIdentifier, __ContextType)
 {
     this._CoordinateSpaceDimension = __CoordinateSpaceDimension;
     this._Precision             = __Precision;
     this._WorldCoordinateSystem = __WorldCoordinateSystem;
     this._TrueNorth             = __TrueNorth;
 }
Ejemplo n.º 6
0
 public IfcMapConversion(IfcCoordinateReferenceSystemSelect __SourceCRS, IfcCoordinateReferenceSystem __TargetCRS, IfcLengthMeasure __Eastings, IfcLengthMeasure __Northings, IfcLengthMeasure __OrthogonalHeight, IfcReal?__XAxisAbscissa, IfcReal?__XAxisOrdinate, IfcReal?__Scale)
     : base(__SourceCRS, __TargetCRS)
 {
     this.Eastings         = __Eastings;
     this.Northings        = __Northings;
     this.OrthogonalHeight = __OrthogonalHeight;
     this.XAxisAbscissa    = __XAxisAbscissa;
     this.XAxisOrdinate    = __XAxisOrdinate;
     this.Scale            = __Scale;
 }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _refractionIndex = value.RealVal;
                return;

            case 1:
                _dispersionFactor = value.RealVal;
                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:
                _refractionIndex = value.RealVal;
                break;

            case 1:
                _dispersionFactor = value.RealVal;
                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:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 4:
                _scale2 = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 10
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:
                _eastings = value.RealVal;
                return;

            case 3:
                _northings = value.RealVal;
                return;

            case 4:
                _orthogonalHeight = value.RealVal;
                return;

            case 5:
                _xAxisAbscissa = value.RealVal;
                return;

            case 6:
                _xAxisOrdinate = value.RealVal;
                return;

            case 7:
                _scale = value.RealVal;
                return;

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

            case 1:
                _axis2 = (IfcDirection)(value.EntityVal);
                return;

            case 2:
                _localOrigin = (IfcCartesianPoint)(value.EntityVal);
                return;

            case 3:
                _scale = 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:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 9:
                _orientation = (IfcDirection)(value.EntityVal);
                return;

            case 10:
                _concentrationExponent = value.RealVal;
                return;

            case 11:
                _spreadAngle = value.RealVal;
                return;

            case 12:
                _beamWidthAngle = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 13
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:
                _Orientation = (IfcDirection)value.EntityVal;
                break;

            case 10:
                _ConcentrationExponent = value.RealVal;
                break;

            case 11:
                _SpreadAngle = value.RealVal;
                break;

            case 12:
                _BeamWidthAngle = value.RealVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Ejemplo n.º 14
0
 public IfcCartesianTransformationOperator3D(IfcDirection __Axis1, IfcDirection __Axis2, IfcCartesianPoint __LocalOrigin, IfcReal?__Scale, IfcDirection __Axis3)
     : base(__Axis1, __Axis2, __LocalOrigin, __Scale)
 {
     this._Axis3 = __Axis3;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _refractionIndex = value.RealVal;
             break;
         case 1:
             _dispersionFactor = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Ejemplo n.º 16
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:
             _Orientation = (IfcDirection)value.EntityVal;
             break;
         case 10:
             _ConcentrationExponent = value.RealVal;
             break;
         case 11:
             _SpreadAngle = value.RealVal;
             break;
         case 12:
             _BeamWidthAngle = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Ejemplo n.º 17
0
 public IfcSurfaceStyleRefraction(IfcReal?__RefractionIndex, IfcReal?__DispersionFactor)
 {
     this._RefractionIndex  = __RefractionIndex;
     this._DispersionFactor = __DispersionFactor;
 }
 public IfcCartesianTransformationOperator3DnonUniform(IfcDirection __Axis1, IfcDirection __Axis2, IfcCartesianPoint __LocalOrigin, IfcReal?__Scale, IfcDirection __Axis3, IfcReal?__Scale2, IfcReal?__Scale3)
     : base(__Axis1, __Axis2, __LocalOrigin, __Scale, __Axis3)
 {
     this.Scale2 = __Scale2;
     this.Scale3 = __Scale3;
 }
 public IfcCartesianTransformationOperator2DnonUniform(IfcDirection __Axis1, IfcDirection __Axis2, IfcCartesianPoint __LocalOrigin, IfcReal?__Scale, IfcReal?__Scale2)
     : base(__Axis1, __Axis2, __LocalOrigin, __Scale)
 {
     this._Scale2 = __Scale2;
 }
 public IfcGeometricRepresentationContext(IfcLabel?__ContextIdentifier, IfcLabel?__ContextType, IfcDimensionCount __CoordinateSpaceDimension, IfcReal?__Precision, IfcAxis2Placement __WorldCoordinateSystem, IfcDirection __TrueNorth)
     : base(__ContextIdentifier, __ContextType)
 {
     this.CoordinateSpaceDimension = __CoordinateSpaceDimension;
     this.Precision              = __Precision;
     this.WorldCoordinateSystem  = __WorldCoordinateSystem;
     this.TrueNorth              = __TrueNorth;
     this.HasSubContexts         = new HashSet <IfcGeometricRepresentationSubContext>();
     this.HasCoordinateOperation = new HashSet <IfcCoordinateOperation>();
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
             base.IfcParse(propIndex, value);
             break;
         case 2:
             _coordinateSpaceDimension = (sbyte) value.IntegerVal;
             break;
         case 3:
             _precision = value.RealVal;
             break;
         case 4:
             _worldCoordinateSystem = (IfcAxis2Placement) value.EntityVal;
             break;
         case 5:
             _trueNorth = (IfcDirection) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public IfcGeometricRepresentationSubContext(IfcLabel?__ContextIdentifier, IfcLabel?__ContextType, IfcDimensionCount __CoordinateSpaceDimension, IfcReal?__Precision, IfcAxis2Placement __WorldCoordinateSystem, IfcDirection __TrueNorth, IfcGeometricRepresentationContext __ParentContext, IfcPositiveRatioMeasure?__TargetScale, IfcGeometricProjectionEnum __TargetView, IfcLabel?__UserDefinedTargetView)
     : base(__ContextIdentifier, __ContextType, __CoordinateSpaceDimension, __Precision, __WorldCoordinateSystem, __TrueNorth)
 {
     this._ParentContext         = __ParentContext;
     this._TargetScale           = __TargetScale;
     this._TargetView            = __TargetView;
     this._UserDefinedTargetView = __UserDefinedTargetView;
 }