Given a selection of lines, this function finds groups of lines linked together
inputLines | array of Line | |
linePaths | array of array of Line | linked together |
lineDirections | optional array of arrays of booleans | representing line directions for lines in a path |
isClosedLoop | optional array of booleans | one for each line path (true if the lines in a path form a closed loop, false for open) |
Return value | int | number of closed line paths |
Back to Database
Back to Overview