CODLinkComponent::UpdatePorts

voidCODLinkComponent::UpdatePorts(void)

Updates the position of the tail and head port to match the link shape.

Defined in: OdLinkComp.cpp

Return Value

void

Comments

The position of the head and tail port is set to match the position of the source and target ports. The functions  GetSourcePort and  GetTargetPort are called to get the source and target ports. If the source port or target port is NULL, then no connection exists on the head or tail port, respectively. In that case, the position of the given port is determined by calling either IODLinkShape::GetTailPoint or IODLinkShape::GetHeadPoint.