Database.findLinePaths


findLinePaths(inputLines, linePaths, [lineDirections], [isClosedLoop])

Given a selection of lines, this function finds groups of lines linked together

inputLinesarray of Line
linePathsarray of array of Line linked together
lineDirectionsoptional array of arrays of booleans representing line directions for lines in a path
isClosedLoopoptional array of booleans one for each line path (true if the lines in a path form a closed loop, false for open)
Return valueintnumber of closed line paths

Back to Database

Back to Overview