MCPcopy Index your code
hub / github.com/fogleman/ln / MinComponent

Method MinComponent

ln/vector.go:107–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107func (a Vector) MinComponent() float64 {
108 return math.Min(math.Min(a.X, a.Y), a.Z)
109}
110
111func (p Vector) SegmentDistance(v Vector, w Vector) float64 {
112 l2 := v.DistanceSquared(w)

Callers 1

FitInsideMethod · 0.80

Calls 1

MinMethod · 0.45

Tested by

no test coverage detected