Class Ifc2x3::IfcRelConnectsPorts

Nested Relationships

This class is a nested type of Struct Ifc2x3.

Inheritance Relationships

Base Type

Class Documentation

class Ifc2x3::IfcRelConnectsPorts : public Ifc2x3::IfcRelConnects

Definition from IAI: An IfcRelConnectsPorts defines the relationship that is made between two ports at their point of connection. It may include the connection geometry between two ports.

IfcRelConnectsPorts is required for defining how instances of IfcPort connect together. Each of the port is being logically attached to the IfcElement by using the IfcRelConnectsPortToElement relationship.

HISTORY New entity in IFC 2.0, modified in IFC2x.

Public Types

typedef IfcTemplatedEntityList<IfcRelConnectsPorts> list

Public Functions

::Ifc2x3::IfcPort *RelatingPort() const

Reference to the first port that is connected by the objectified relationship.

void setRelatingPort(::Ifc2x3::IfcPort *v)
::Ifc2x3::IfcPort *RelatedPort() const

Reference to the second port that is connected by the objectified relationship.

void setRelatedPort(::Ifc2x3::IfcPort *v)
bool hasRealizingElement() const

Whether the optional attribute RealizingElement is defined for this IfcRelConnectsPorts.

::Ifc2x3::IfcElement *RealizingElement() const

Defines the element that realizes a port connection relationship.

void setRealizingElement(::Ifc2x3::IfcElement *v)
const IfcParse::entity &declaration() const
IfcRelConnectsPorts(IfcEntityInstanceData *e)
IfcRelConnectsPorts(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::IfcPort *v6_RelatedPort, ::Ifc2x3::IfcElement *v7_RealizingElement)

Public Static Functions

const IfcParse::entity &Class()