Class Ifc4::IfcRelConnectsPortToElement¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcRelConnects
(Class Ifc4::IfcRelConnects)
Class Documentation¶
-
class
Ifc4
::
IfcRelConnectsPortToElement
: public Ifc4::IfcRelConnects¶ The objectified relationship IfcRelConnectsPortToElement defines the relationship that is made between a port and the IfcElement, or IfcElementType in which it is contained. It is a 1 to 1 relationship.
The IfcRelConnectsPortToElement established a whole part relationship between the element and its port. The port is used as the means to connect to other ports in other elements. Since both, the element-to-port, and the port-to-port relationships are 1:1 relationships, a topological system (or system path or ciruit) can be defined.
Ports contained in different elements are connected to each other using the IfcRelConnectsPorts relationship.
See relevant subtypes of IfcDistributionElement for examples and port use definition sections.
HISTORY New entity in Release IFC2x Edition 2. IFC2x4 CHANGE The definition has been extended to include element types.
Public Types
-
typedef IfcTemplatedEntityList<IfcRelConnectsPortToElement>
list
¶
Public Functions
-
::Ifc4::IfcPort *
RelatingPort
() const¶ Reference to an Port that is connected by the objectified relationship.
-
::Ifc4::IfcDistributionElement *
RelatedElement
() const¶ Reference to an IfcElement, or IfcElementType that has ports assigned.
IFC2x4 CHANGE Data type extended to IfcObjectDefinition to enable elements and element types for the port relationship.
-
void
setRelatedElement
(::Ifc4::IfcDistributionElement *v)¶
-
IfcRelConnectsPortToElement
(IfcEntityInstanceData *e)¶
-
IfcRelConnectsPortToElement
(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, ::Ifc4::IfcPort *v5_RelatingPort, ::Ifc4::IfcDistributionElement *v6_RelatedElement)¶
-
typedef IfcTemplatedEntityList<IfcRelConnectsPortToElement>