Documentation
¶
Overview ¶
modified from https://stackoverflow.com/questions/27161533/find-the-shortest-distance-between-a-point-and-line-segments-not-line
modified from https://stackoverflow.com/questions/27161533/find-the-shortest-distance-between-a-point-and-line-segments-not-line
Index ¶
- func Add(v, w [3]float64) [3]float64
- func Angle2d(b, e [3]float64) float64
- func Cross(v, w [3]float64) [3]float64
- func Distance(p0, p1 [3]float64) float64
- func Dot(v, w [3]float64) float64
- func Length(v [3]float64) float64
- func PointToLine(pnt, start, end [3]float64) (float64, float64, [3]float64)
- func Scale(v [3]float64, sc float64) [3]float64
- func Subtract(v, w [3]float64) [3]float64
- func Unit(v [3]float64) [3]float64
- func Vector(b, e [3]float64) [3]float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.