public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _degree = (int) value.IntegerVal; break; case 1: _controlPointsList = (CartesianPointList) value.EntityVal; break; case 2: _curveForm = (IfcBSplineCurveForm) Enum.Parse(typeof (IfcBSplineCurveForm), value.EnumVal, true); break; case 3: _closedCurve = value.BooleanVal; break; case 4: _selfIntersect = value.BooleanVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcBSplineCurve() { _controlPointsList = new CartesianPointList(this); }
public IfcPolyline() { _points = new CartesianPointList(this); }