Debian Codegraph @

texmf-dist/doc/latex/luatikz/example/lineb.lua

raw
1 tikz.within( '*' )
2
3 local l1 = line{ p{ 0, 0 }, p{ 2, 3 } }
4 local l2 = line{ p1 = p{ 0, 3 }, p2 = p{ 2, 1 } }
5 local pi = l1.intersectLine( l2 )
6
7 draw{ l1 }
8 draw{ l2 }
9 draw{ circle{ at = pi, radius = 0.1 } }