MCPcopy
hub / github.com/fogleman/ln / BoundingBox

Method BoundingBox

ln/csg.go:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (s *BooleanShape) BoundingBox() Box {
39 // TODO: fix this
40 a := s.A.BoundingBox()
41 b := s.B.BoundingBox()
42 return a.Extend(b)
43}
44
45func (s *BooleanShape) Contains(v Vector, f float64) bool {
46 f = 1e-3

Callers

nothing calls this directly

Calls 2

ExtendMethod · 0.80
BoundingBoxMethod · 0.65

Tested by

no test coverage detected