111 return source->getConnections((
SideType)side);
127 return connection != 0 &&
getTarget(connection) != 0;
const agxPowerLine::Connector * getConnector() const
const agxPowerLine::PhysicalDimension * getDimension() const
Links two connections together.
ConnectionIteratorTypes< T >::TargetPtr TargetPtr
static TargetPtr getTarget(ConnectionPtr connection)
static ConnectionPtr getConnection(SourcePtr source, Side side, size_t index)
ConnectionIteratorTypes< T >::ConnectionPtr ConnectionPtr
ConnectionIteratorTypes< T >::SourcePtr SourcePtr
static const ConnectionRefVector & getConnections(SourcePtr source, Side side)
ConnectionIteratorTypes< T >::SideType SideType
static bool isConnectionValid(SourcePtr source, Side side, size_t index)
static TargetPtr getTarget(ConnectionPtr connection)
Connection * ConnectionPtr
PhysicalDimension * TargetPtr
static TargetPtr getTarget(ConnectionPtr connection)
PhysicalDimension * SourcePtr
Connection * ConnectionPtr
const PhysicalDimension * TargetPtr
const Connection * ConnectionPtr
static TargetPtr getTarget(ConnectionPtr connection)
const Connector * SourcePtr
const Connector * TargetPtr
const PhysicalDimension * SourcePtr
const Connection * ConnectionPtr
static TargetPtr getTarget(ConnectionPtr connection)
agxPowerLine contains a collection of connected components that transport power across a system.