public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _curve3D = (IfcCurve)(value.EntityVal); return; case 1: _associatedGeometry.InternalAdd((IfcPcurve)value.EntityVal); return; case 2: _masterRepresentation = (IfcPreferredSurfaceCurveRepresentation)System.Enum.Parse(typeof(IfcPreferredSurfaceCurveRepresentation), value.EnumVal, true); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
internal IfcIntersectionCurve(IfcCurve curve, IfcPCurve p1, IfcPCurve p2, IfcPreferredSurfaceCurveRepresentation cr) : base(curve, p1, p2, cr) { }
public IfcIntersectionCurve(IfcCurve __Curve3D, IfcPcurve[] __AssociatedGeometry, IfcPreferredSurfaceCurveRepresentation __MasterRepresentation) : base(__Curve3D, __AssociatedGeometry, __MasterRepresentation) { }
public IfcSurfaceCurve(IfcCurve __Curve3D, IfcPcurve[] __AssociatedGeometry, IfcPreferredSurfaceCurveRepresentation __MasterRepresentation) { this._Curve3D = __Curve3D; this._AssociatedGeometry = new List <IfcPcurve>(__AssociatedGeometry); this._MasterRepresentation = __MasterRepresentation; }
internal IfcIntersectionCurve(IfcCurve curve, IfcPCurve p1, IfcPCurve p2, IfcPreferredSurfaceCurveRepresentation cr) : base(curve,p1,p2,cr) { }
public IfcIntersectionCurve(IfcCurve curve3D, List <IfcPcurve> associatedGeometry, IfcPreferredSurfaceCurveRepresentation masterRepresentation) : base(curve3D, associatedGeometry, masterRepresentation) { }
public IfcSurfaceCurve(IfcCurve curve3D, List <IfcPcurve> associatedGeometry, IfcPreferredSurfaceCurveRepresentation masterRepresentation) : base() { Curve3D = curve3D; AssociatedGeometry = associatedGeometry; MasterRepresentation = masterRepresentation; }