Class Ifc4x2::IfcRelConnectsPortToElement

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

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

::Ifc4x2::IfcPort *RelatingPort() const

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

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

Public Static Functions

const IfcParse::entity &Class()