internal IfcPort getOtherPort(IfcPort p) { return (mRelatedPort == p.mIndex ? mDatabase.mIfcObjects[mRelatingPort] as IfcPort : mDatabase.mIfcObjects[mRelatedPort] as IfcPort); }
internal IfcRelConnectsPorts(IfcPort relatingPort, IfcPort relatedPort, IfcElement realizingElement) : base(relatingPort.mDatabase) { mRelatingPort = relatingPort.mIndex; mRelatedPort = relatedPort.mIndex; if (realizingElement != null) mRealizingElement = realizingElement.mIndex; }
protected static void parseFields(IfcPort p, List<string> arrFields, ref int ipos) { IfcProduct.parseFields(p, arrFields, ref ipos); }
internal IfcRelConnectsPortToElement(IfcPort p, IfcElement e) : base(p.mDatabase) { mRelatingPort = p.mIndex; p.mContainedIn = this; mRelatedElement = e.mIndex; e.mHasPorts.Add(this); }
protected IfcPort(IfcPort q) : base(q) { }