Given a string containing multiple line ID's in format "1;3;5T8", this function returns true if the lines form either a closed loop or a continuous line
lineSelection | string | string containing the line ID's that need to be checked. This string will be modified such that the lines are in order |
checkDirections | boolean | if TRUE, an error is returned if the lines' individual directions are not consistent. If FALSE, the individual lines' order is ignored. |
pErrMsg | string | error message describing why it failed |
Return value | boolean | true if the lines form a closed loop or continuous line |
Back to Database
Back to Overview