()
| 36 | } |
| 37 | |
| 38 | func (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 | |
| 45 | func (s *BooleanShape) Contains(v Vector, f float64) bool { |
| 46 | f = 1e-3 |
nothing calls this directly
no test coverage detected