Example #1
0
		internal IfcMapConversion(DatabaseIfc m, IfcCoordinateReferenceSystemSelect source, IfcCoordinateReferenceSystem target, double eastings, double northings, double orthogonalHeight, double XAxisAbscissa, double XAxisOrdinate, double scale)
			: base(m, source, target)
		{
			mEastings = eastings;
			mNorthings = northings;
			mOrthogonalHeight = orthogonalHeight;
			mXAxisAbscissa = XAxisAbscissa;
			mXAxisOrdinate = XAxisOrdinate;
			mScale = scale;
		}
Example #2
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:
                _sourceCRS = (IfcCoordinateReferenceSystemSelect)(value.EntityVal);
                return;

            case 1:
                _targetCRS = (IfcCoordinateReferenceSystem)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Example #4
0
		protected IfcCoordinateOperation(DatabaseIfc m, IfcCoordinateReferenceSystemSelect source, IfcCoordinateReferenceSystem target) : base(m) { mSourceCRS = source.Index; mTargetCRS = target.mIndex; }
Example #5
0
 public IfcCoordinateOperation(IfcCoordinateReferenceSystemSelect __SourceCRS, IfcCoordinateReferenceSystem __TargetCRS)
 {
     this._SourceCRS = __SourceCRS;
     this._TargetCRS = __TargetCRS;
 }
Example #6
0
 protected IfcCoordinateOperation(IfcCoordinateReferenceSystemSelect __SourceCRS, IfcCoordinateReferenceSystem __TargetCRS)
 {
     this.SourceCRS = __SourceCRS;
     this.TargetCRS = __TargetCRS;
 }