Inheritance: IfcStructuralItem
示例#1
0
        protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options)
        {
            base.setJSON(obj, host, options);
            JArray array = new JArray();

            foreach (IfcRelConnectsStructuralMember connects in mConnectedBy)
            {
                IfcStructuralConnection connection = connects.RelatedStructuralConnection;
                if (host == null || connection.mIndex != host.mIndex)
                {
                    array.Add(connects.getJson(this, options));
                }
            }
            if (array.Count > 0)
            {
                obj["ConnectedBy"] = array;
            }
        }
示例#2
0
		internal IfcRelConnectsWithEccentricity(IfcStructuralMember memb, IfcStructuralConnection connection, IfcConnectionGeometry cg)
			: base(memb, connection) { mConnectionConstraint = cg.mIndex; }
示例#3
0
		internal IfcRelConnectsStructuralMember(IfcStructuralMember member, IfcStructuralConnection connection)
			: base(member.mDatabase)
		{
			mRelatingStructuralMember = member.mIndex;
			member.mConnectedBy.Add(this);
			mRelatedStructuralConnection = connection.mIndex;
			connection.mConnectsStructuralMembers.Add(this);
		}
示例#4
0
		protected static void parseFields(IfcStructuralConnection c, List<string> arrFields, ref int ipos) { IfcStructuralItem.parseFields(c, arrFields, ref ipos); c.mAppliedCondition = ParserSTEP.ParseLink(arrFields[ipos++]); }
示例#5
0
		protected IfcStructuralConnection(IfcStructuralConnection i) : base(i) { mAppliedCondition = i.mAppliedCondition; }