internal IfcProfileDef underlyingSweptProfile() { if (mOperator == IfcBooleanOperator.DIFFERENCE) { IfcBooleanOperand first = FirstOperand; IfcSweptAreaSolid sweptAreaSolid = first as IfcSweptAreaSolid; if(sweptAreaSolid != null) return sweptAreaSolid.SweptArea; IfcBooleanResult booleanResult = first as IfcBooleanResult; if(booleanResult != null) return booleanResult.underlyingSweptProfile(); } return null; }
public IfcBooleanClippingResult(IfcSweptAreaSolid s, IfcHalfSpaceSolid hss) : base(IfcBooleanOperator.DIFFERENCE, s, hss) { }
internal IfcBooleanClippingResult(IfcSweptAreaSolid s, IfcHalfSpaceSolid hss) : base(IfcBooleanOperator.DIFFERENCE, s, hss) { }
public IfcShapeRepresentation(IfcSweptAreaSolid sm) : base(sm, "Body", "SweptSolid") { }
protected static void parseFields(IfcSweptAreaSolid s, List<string> arrFields, ref int ipos) { IfcSolidModel.parseFields(s, arrFields, ref ipos); s.mSweptArea = ParserSTEP.ParseLink(arrFields[ipos++]); s.mPosition = ParserSTEP.ParseLink(arrFields[ipos++]); }
protected IfcSweptAreaSolid(IfcSweptAreaSolid p) : base(p) { mSweptArea = p.mSweptArea; mPosition = p.mPosition; }