public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: base.IfcParse(propIndex, value); break; case 2: _directrix = (IfcCurve)value.EntityVal; break; case 3: _startParam = new IfcParameterValue(value.RealVal); break; case 4: _endParam = new IfcParameterValue(value.RealVal); break; case 5: _referenceSurface = (IfcSurface)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: base.Parse(propIndex, value, nestedIndex); return; case 2: _directrix = (IfcCurve)(value.EntityVal); return; case 3: _startParam = value.RealVal; return; case 4: _endParam = value.RealVal; return; case 5: _referenceSurface = (IfcSurface)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcSurfaceCurveSweptAreaSolid(IfcProfileDef __SweptArea, IfcAxis2Placement3D __Position, IfcCurve __Directrix, IfcParameterValue?__StartParam, IfcParameterValue?__EndParam, IfcSurface __ReferenceSurface) : base(__SweptArea, __Position) { this.Directrix = __Directrix; this.StartParam = __StartParam; this.EndParam = __EndParam; this.ReferenceSurface = __ReferenceSurface; }
public IfcGeometricCurveSet(List <IfcGeometricSetSelect> set) : base(set) { for (int icounter = 0; icounter < set.Count; icounter++) { IfcSurface s = set[icounter] as IfcSurface; if (s != null) { throw new Exception("XXX Error, IfcSurface cannot be added to IfcGeometricCurveSet " + mIndex); } } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _baseSurface = (IfcSurface)value.EntityVal; break; case 1: _agreementFlag = value.BooleanVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _baseSurface = (IfcSurface)(value.EntityVal); return; case 1: _agreementFlag = value.BooleanVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _basisSurface = (IfcSurface)(value.EntityVal); return; case 1: _boundaries.InternalAdd((IfcBoundaryCurve)value.EntityVal); return; case 2: _implicitOuter = value.BooleanVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
private IfcDimensionCount DimElem(object elem) { IfcPoint pt = elem as IfcPoint; IfcCurve cv = elem as IfcCurve; IfcSurface sf = elem as IfcSurface; if (pt != null) { return(pt.Dim); } if (cv != null) { return(cv.Dim); } if (sf != null) { return(sf.Dim); } return(0); }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _basisSurface = (IfcSurface)(value.EntityVal); return; case 1: _u1 = value.RealVal; return; case 2: _v1 = value.RealVal; return; case 3: _u2 = value.RealVal; return; case 4: _v2 = value.RealVal; return; case 5: _usense = value.BooleanVal; return; case 6: _vsense = value.BooleanVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcFaceSurface(IfcFaceBound[] __Bounds, IfcSurface __FaceSurface, IfcBoolean __SameSense) : base(__Bounds) { this.FaceSurface = __FaceSurface; this.SameSense = __SameSense; }
internal IfcOuterBoundaryCurve(List <IfcCompositeCurveSegment> segs, IfcSurface surface) : base(segs, surface) { }
public IfcHalfSpaceSolid(IfcSurface __BaseSurface, Boolean __AgreementFlag) { this._BaseSurface = __BaseSurface; this._AgreementFlag = __AgreementFlag; }
public IfcBoundaryCurve(List <IfcCompositeCurveSegment> segs, IfcSurface surface) : base(segs, surface) { }
public IfcFaceSurface(List <IfcFaceBound> bounds, IfcSurface srf, bool sameSense) : base(bounds) { FaceSurface = srf; mSameSense = sameSense; }
public IfcAdvancedFace(IfcFaceBound[] __Bounds, IfcSurface __FaceSurface, IfcBoolean __SameSense) : base(__Bounds, __FaceSurface, __SameSense) { }
public IfcFaceSurface(IfcFaceOuterBound outer, IfcFaceBound inner, IfcSurface srf, bool sameSense) : base(outer, inner) { FaceSurface = srf; mSameSense = sameSense; }
public IfcBoxedHalfSpace(IfcSurface __BaseSurface, Boolean __AgreementFlag, IfcBoundingBox __Enclosure) : base(__BaseSurface, __AgreementFlag) { this._Enclosure = __Enclosure; }
public IfcPolygonalBoundedHalfSpace(IfcSurface __BaseSurface, Boolean __AgreementFlag, IfcAxis2Placement3D __Position, IfcBoundedCurve __PolygonalBoundary) : base(__BaseSurface, __AgreementFlag) { this._Position = __Position; this._PolygonalBoundary = __PolygonalBoundary; }
public IXbimFace CreateFace(IfcSurface surface) { return(_engine.CreateFace(surface)); }
public IfcHalfSpaceSolid(IfcSurface baseSurface, bool agreementFlag) : base(baseSurface.mDatabase) { BaseSurface = baseSurface; AgreementFlag = agreementFlag; }
public IfcFaceSurface(IfcFaceOuterBound bound, IfcSurface srf, bool sameSense) : base(bound) { FaceSurface = srf; mSameSense = sameSense; }