예제 #1
0
        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()));
            }
        }
예제 #2
0
 internal IfcIntersectionCurve(IfcCurve curve, IfcPCurve p1, IfcPCurve p2, IfcPreferredSurfaceCurveRepresentation cr) : base(curve, p1, p2, cr)
 {
 }
예제 #3
0
 public IfcIntersectionCurve(IfcCurve __Curve3D, IfcPcurve[] __AssociatedGeometry, IfcPreferredSurfaceCurveRepresentation __MasterRepresentation)
     : base(__Curve3D, __AssociatedGeometry, __MasterRepresentation)
 {
 }
예제 #4
0
 public IfcSurfaceCurve(IfcCurve __Curve3D, IfcPcurve[] __AssociatedGeometry, IfcPreferredSurfaceCurveRepresentation __MasterRepresentation)
 {
     this._Curve3D              = __Curve3D;
     this._AssociatedGeometry   = new List <IfcPcurve>(__AssociatedGeometry);
     this._MasterRepresentation = __MasterRepresentation;
 }
예제 #5
0
 internal IfcIntersectionCurve(IfcCurve curve, IfcPCurve p1, IfcPCurve p2, IfcPreferredSurfaceCurveRepresentation cr)
     : base(curve,p1,p2,cr)
 {
 }
예제 #6
0
 public IfcIntersectionCurve(IfcCurve curve3D, List <IfcPcurve> associatedGeometry, IfcPreferredSurfaceCurveRepresentation masterRepresentation) : base(curve3D, associatedGeometry, masterRepresentation)
 {
 }
예제 #7
0
 public IfcSurfaceCurve(IfcCurve curve3D, List <IfcPcurve> associatedGeometry, IfcPreferredSurfaceCurveRepresentation masterRepresentation) : base()
 {
     Curve3D              = curve3D;
     AssociatedGeometry   = associatedGeometry;
     MasterRepresentation = masterRepresentation;
 }