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()));
            }
        }
예제 #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;
            }
        }
예제 #5
0
 public IfcConnectionPointGeometry(IfcPointOrVertexPoint __PointOnRelatingElement, IfcPointOrVertexPoint __PointOnRelatedElement)
 {
     this._PointOnRelatingElement = __PointOnRelatingElement;
     this._PointOnRelatedElement  = __PointOnRelatedElement;
 }
예제 #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;
 }
예제 #8
0
파일: IFC C.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcConnectionPointGeometry(IfcPointOrVertexPoint v) : base(v.Database) { mPointOnRelatingElement = v.Index; }