Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/ln
/ Paths
Method
Paths
ln/csg.go:67–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
func
(s *BooleanShape) Paths() Paths {
68
p := s.A.Paths()
69
p = append(p, s.B.Paths()...)
70
return
p.Chop(0.01).Filter(s)
71
}
72
73
func
(s *BooleanShape) Filter(v Vector) (Vector, bool) {
74
return
v, s.Contains(v, 0)
Callers
nothing calls this directly
Calls
3
Paths
Method · 0.65
Filter
Method · 0.65
Chop
Method · 0.45
Tested by
no test coverage detected