- distance
T distance(Point!(Vec!(T, 2)) p, VecLine!T l)
Undocumented in source. Be warned that the author may not have intended to support it.
- distance
T distance(VecLine!T l, Point!(Vec!(T, 2)) p)
Undocumented in source. Be warned that the author may not have intended to support it.
- distance
T distance(Point!(Vec!(T, 2)) p, PointLine!T l)
Undocumented in source. Be warned that the author may not have intended to support it.
- distance
T distance(PointLine!T l, Point!(Vec!(T, 2)) p)
Undocumented in source. Be warned that the author may not have intended to support it.
- distance
T distance(VecLine!T l, VecLine!T m)
T distance(PointLine!T l, PointLine!T m)
This does not work when two lines cross.
TODO: Make this work for when two lines cross.
TODO: This needs optimized.