TCpoints2lines function

Convert Points to Line Segments