Inheritance: GeometryGym.Ifc.IfcTopologicalRepresentationItem
Beispiel #1
0
		internal IfcEdge(DatabaseIfc db, IfcEdge e) : base(db, e)
		{
			if(e.mEdgeStart > 0)
				EdgeStart = db.Factory.Duplicate( e.EdgeStart) as IfcVertex;
			if(e.mEdgeEnd > 0)
				EdgeEnd = db.Factory.Duplicate( e.EdgeEnd) as IfcVertex;
		}
Beispiel #2
0
		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++]);
		}
Beispiel #3
0
		internal IfcTopologyRepresentation(IfcEdge e, string identifier) : base(e, identifier, "Edge") { }
Beispiel #4
0
		internal static void parseFields(IfcEdge e, List<string> arrFields, ref int ipos) { IfcTopologicalRepresentationItem.parseFields(e, arrFields, ref ipos); e.mEdgeStart = ParserSTEP.ParseLink(arrFields[ipos++]); e.mEdgeEnd = ParserSTEP.ParseLink(arrFields[ipos++]); }
Beispiel #5
0
		internal static IfcEdge Parse(string strDef) { IfcEdge e = new IfcEdge(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return e; }
Beispiel #6
0
		internal IfcEdge(IfcEdge el) : base(el) { mEdgeStart = el.mEdgeStart; mEdgeEnd = el.mEdgeEnd; }
Beispiel #7
0
 public IfcOrientedEdge(IfcEdge e, bool sense) : base(e.mDatabase)
 {
     mEdgeElement = e.mIndex; mOrientation = sense;
 }
Beispiel #8
0
		internal static void parseFields(IfcEdge e, List<string> arrFields, ref int ipos) { e.mEdgeStart = ParserSTEP.ParseLink(arrFields[ipos++]); e.mEdgeEnd = ParserSTEP.ParseLink(arrFields[ipos++]); }
Beispiel #9
0
		internal IfcOrientedEdge(IfcVertexPoint a, IfcVertexPoint b) : base(a.mDatabase) { mEdgeElement = new IfcEdge(a, b).mIndex; }
Beispiel #10
0
		public IfcOrientedEdge(IfcEdge e, bool sense) : base(e.mDatabase) { mEdgeElement = e.mIndex; mOrientation = sense; }
Beispiel #11
0
 internal IfcOrientedEdge(DatabaseIfc db, IfcOrientedEdge e) : base(db, e)
 {
     EdgeElement = db.Factory.Duplicate(e.EdgeElement) as IfcEdge; mOrientation = e.mOrientation;
 }
Beispiel #12
0
		public IfcSubedge(IfcVertex v1, IfcVertex v2, IfcEdge e) : base(v1, v2) { mParentEdge = e.mIndex; }