Select your preferred scripting language. All code snippets will be displayed in this language.
History
Distance from a point p in 2d to a line segment defined by two points a and b.
p
a
b