internal static void parseFields(IfcOrientedEdge e, List<string> arrFields, ref int ipos) { if (arrFields.Count > 2) IfcEdge.parseFields(e, arrFields, ref ipos); e.mEdgeElement = ParserSTEP.ParseLink(arrFields[ipos++]); e.mOrientation = ParserSTEP.ParseBool(arrFields[ipos++]); }
public IfcEdgeLoop(IfcOrientedEdge edge1, IfcOrientedEdge edge2) : base(edge1.mDatabase) { mEdgeList.Add(edge1.mIndex); mEdgeList.Add(edge2.mIndex); }
public IfcEdgeLoop(IfcOrientedEdge edge) : base(edge.mDatabase) { mEdgeList.Add(edge.mIndex); }
internal new static IfcOrientedEdge Parse(string strDef) { IfcOrientedEdge e = new IfcOrientedEdge(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return(e); }
internal IfcOrientedEdge(DatabaseIfc db, IfcOrientedEdge e) : base(db, e) { EdgeElement = db.Factory.Duplicate(e.EdgeElement) as IfcEdge; mOrientation = e.mOrientation; }
protected override string BuildStringSTEP(ReleaseVersion release) { IfcOrientedEdge oe = this as IfcOrientedEdge; return(base.BuildStringSTEP(release) + (oe == null ? ",#" + mEdgeStart.Index + ",#" + mEdgeEnd.Index : ",*,*")); }
protected override string BuildStringSTEP(ReleaseVersion release) { IfcOrientedEdge oe = this as IfcOrientedEdge; return(oe == null ? "#" + mEdgeStart.StepId + ",#" + mEdgeEnd.StepId : "*,*"); }
internal IfcOrientedEdge(IfcOrientedEdge el) : base(el) { mEdgeElement = el.mEdgeElement; mOrientation = el.mOrientation; }
internal IfcPath(IfcOrientedEdge edge) : base(edge.mDatabase) { mEdgeList.Add(edge.mIndex); }
internal new static IfcOrientedEdge Parse(string strDef) { IfcOrientedEdge e = new IfcOrientedEdge(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return e; }