Пример #1
0
 internal IfcLinearPositioningElement(DatabaseIfc db, IfcLinearPositioningElement e, DuplicateOptions options) : base(db, e, options)
 {
     if (e.Axis != null)
     {
         Axis = db.Factory.Duplicate(e.Axis) as IfcCurve;
     }
 }
Пример #2
0
        internal override bool isDuplicate(BaseClassIfc e, OptionsTestDuplicate options)
        {
            IfcLinearPositioningElement linearPositioningElement = e as IfcLinearPositioningElement;

            if (linearPositioningElement == null)
            {
                return(false);
            }
            if (mAxis != null)
            {
                BaseClassIfc axis = mAxis as BaseClassIfc;
                if (!axis.isDuplicate(linearPositioningElement.mAxis as BaseClassIfc, options.Tolerance))
                {
                    return(false);
                }
            }
            else if (linearPositioningElement.mAxis != null)
            {
                return(false);
            }
            return(base.isDuplicate(e, options));
        }
Пример #3
0
 protected IfcLinearPositioningElement(DatabaseIfc db, IfcLinearPositioningElement e, DuplicateOptions options) : base(db, e, options)
 {
     Axis = db.Factory.Duplicate(e.Axis) as IfcCurve;
 }
Пример #4
0
 protected IfcLinearPositioningElement(DatabaseIfc db, IfcLinearPositioningElement e, IfcOwnerHistory ownerHistory, bool downStream) : base(db, e, ownerHistory, downStream)
 {
     Axis = db.Factory.Duplicate(e.Axis) as IfcCurve;
 }