Vector lines can sometimes contain two features that are connected by a shared end vertex. This tool identifies connected line features in an input vector file (`input`) and merges them in the output file (`output`). Two line features are merged if their ends are coincident, and are not coincident with any other feature (i.e. a bifurcation junction). End vertices are considered to be coincident if they are within the specified snap distance (`snap`).

## See Also

split_with_lines

## Function Signature

`def merge_line_segments(self, input: Vector, snap_tolerance: float = 2.220446049250313e-16) -> Vector: ...`

## Project Links

WbW Homepage User Manual Support WbW