math.geometry.line

Undocumented in source.

Members

Aliases

PPLine
alias PPLine = PointPointLine
Undocumented in source.
PVLine
alias PVLine = PointVecLine
Undocumented in source.
PointLine
alias PointLine = PointPointLine
Undocumented in source.
VecLine
alias VecLine = PointVecLine
Undocumented in source.

Functions

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.

Structs

PointPointLine
struct PointPointLine(T)
Undocumented in source.
PointVecLine
struct PointVecLine(T)
Undocumented in source.

Meta