Class Ifc2x3::IfcRelConnectsPortToElement

Nested Relationships

This class is a nested type of Struct Ifc2x3.

Inheritance Relationships

Base Type

Class Documentation

class Ifc2x3::IfcRelConnectsPortToElement : public Ifc2x3::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 Functions

::Ifc2x3::IfcPort *RelatingPort() const

Reference to an Port that is connected by the objectified relationship.

void setRelatingPort(::Ifc2x3::IfcPort *v)
::Ifc2x3::IfcElement *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(::Ifc2x3::IfcElement *v)
const IfcParse::entity &declaration() const
IfcRelConnectsPortToElement(IfcEntityInstanceData *e)
IfcRelConnectsPortToElement(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, ::Ifc2x3::IfcPort *v5_RelatingPort, ::Ifc2x3::IfcElement *v6_RelatedElement)

Public Static Functions

const IfcParse::entity &Class()