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 IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _pointOnRelatingElement = (IfcPointOrVertexPoint) value.EntityVal;
             break;
         case 1:
             _pointOnRelatedElement = (IfcPointOrVertexPoint) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _pointOnRelatingElement = (IfcPointOrVertexPoint)(value.EntityVal);
                return;

            case 1:
                _pointOnRelatedElement = (IfcPointOrVertexPoint)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Esempio n. 4
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _pointOnRelatingElement = (IfcPointOrVertexPoint)value.EntityVal;
                break;

            case 1:
                _pointOnRelatedElement = (IfcPointOrVertexPoint)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
 public IfcConnectionPointGeometry(IfcPointOrVertexPoint __PointOnRelatingElement, IfcPointOrVertexPoint __PointOnRelatedElement)
 {
     this._PointOnRelatingElement = __PointOnRelatingElement;
     this._PointOnRelatedElement  = __PointOnRelatedElement;
 }
Esempio n. 6
0
		internal IfcConnectionPointEccentricity(IfcPointOrVertexPoint v, Vector3d ecc) : base(v) { mEccentricityInX = ecc.X; mEccentricityInY = ecc.Y; mEccentricityInZ = ecc.Z; }
 internal IfcConnectionPointEccentricity(IfcPointOrVertexPoint v, Vector3d ecc) : base(v)
 {
     mEccentricityInX = ecc.X; mEccentricityInY = ecc.Y; mEccentricityInZ = ecc.Z;
 }
Esempio n. 8
0
		internal IfcConnectionPointGeometry(IfcPointOrVertexPoint v) : base(v.Database) { mPointOnRelatingElement = v.Index; }