CuteHMI - Pipes (CuteHMI.Symbols.Pipes.1)
|
Connector selector. More...
Public Member Functions | |
void | mapToPipe (pipe, other) |
Public Member Functions inherited from PipeConnector | |
void | mapToPipe (pipe, other) |
Properties | |
var | connectors |
Properties inherited from PipeConnector | |
real | x |
real | y |
Item | parent |
Connector selector.
Given the list of connectors, selector tries to pick closest connector to the other connector a pipe is connected to. Connector selectors present themselves as connectors located in the center of the parent item. Currently a simple algorithm is used, thus when paired they give approximate solutions, because selector does not access connectors list of the other selector. In some cases it may be necesary to pick appropriate connectors manually.
void ConnectorSelector::mapToPipe | ( | pipe | , |
other | |||
) |
|
read |