Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
107
func
(a Vector) MinComponent() float64 {
108
return
math.Min(math.Min(a.X, a.Y), a.Z)
109
}
110
111
func
(p Vector) SegmentDistance(v Vector, w Vector) float64 {
112
l2 := v.DistanceSquared(w)
Callers
1
FitInside
Method · 0.80
Calls
1
Min
Method · 0.45
Tested by
no test coverage detected