MCPcopy
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
67func (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
73func (s *BooleanShape) Filter(v Vector) (Vector, bool) {
74 return v, s.Contains(v, 0)

Callers

nothing calls this directly

Calls 3

PathsMethod · 0.65
FilterMethod · 0.65
ChopMethod · 0.45

Tested by

no test coverage detected