예제 #1
0
 public IfcCompositeCurveSegment(IfcTransitionCode __Transition, IfcBoolean __SameSense, IfcCurve __ParentCurve)
 {
     this.Transition  = __Transition;
     this.SameSense   = __SameSense;
     this.ParentCurve = __ParentCurve;
     this.UsingCurves = new HashSet <IfcCompositeCurve>();
 }
예제 #2
0
        public IfcCompositeCurveSegment(IfcTransitionCode transition, IfcBoolean sameSense, IfcCurve parentCurve) : base()
        {
            UsingCurves = new List <IfcCompositeCurve>();

            Transition  = transition;
            SameSense   = sameSense;
            ParentCurve = parentCurve;
        }
예제 #3
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _transition = (IfcTransitionCode)System.Enum.Parse(typeof(IfcTransitionCode), value.EnumVal, true);
                return;

            case 1:
                _sameSense = value.BooleanVal;
                return;

            case 2:
                _parentCurve = (IfcCurve)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _transition = (IfcTransitionCode)Enum.Parse(typeof(IfcTransitionCode), value.EnumVal, true);
                break;

            case 1:
                _sameSense = value.BooleanVal;
                break;

            case 2:
                _parentCurve = (IfcCurve)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
예제 #5
0
 public IfcCompositeCurveSegment(IfcTransitionCode __Transition, Boolean __SameSense, IfcCurve __ParentCurve)
 {
     this._Transition  = __Transition;
     this._SameSense   = __SameSense;
     this._ParentCurve = __ParentCurve;
 }
예제 #6
0
파일: IFC C.cs 프로젝트: jenca-cloud/ggIFC
		public IfcCompositeCurveSegment(IfcTransitionCode tc, bool sense, IfcBoundedCurve bc) : base(bc.mDatabase) { mSameSense = sense; mTransition = tc; }
예제 #7
0
파일: IFC C.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcCompositeCurveSegment(IfcCompositeCurveSegment el) : base(el) { mTransition = el.mTransition; mSameSense = el.mSameSense; mParentCurve = el.mParentCurve; }
예제 #8
0
 internal IfcCompositeCurveSegment(DatabaseIfc db, Curve c, bool sense, IfcTransitionCode tc, bool twoD, IfcCartesianPoint optStrt, out IfcCartesianPoint end)
     : this(tc, sense, IfcBoundedCurve.convCurve(db, c, optStrt, twoD, out end))
 {
 }
예제 #9
0
 internal IfcCompositeCurveSegment(DatabaseIfc db, Curve c, bool sense, IfcTransitionCode tc, bool twoD, IfcCartesianPoint optStrt, out IfcCartesianPoint end)
     : this(tc, sense, IfcBoundedCurve.convCurve(db, c, optStrt, twoD, out end))
 {
 }
예제 #10
0
 public IfcReparametrisedCompositeCurveSegment(IfcTransitionCode __Transition, IfcBoolean __SameSense, IfcCurve __ParentCurve, IfcParameterValue __ParamLength)
     : base(__Transition, __SameSense, __ParentCurve)
 {
     this.ParamLength = __ParamLength;
 }
예제 #11
0
 public IfcReparametrisedCompositeCurveSegment(IfcTransitionCode transition, IfcBoolean sameSense, IfcCurve parentCurve, IfcParameterValue paramLength) : base(transition, sameSense, parentCurve)
 {
     ParamLength = paramLength;
 }