MCPcopy Index your code
hub / github.com/fogleman/ln / BoundingBox

Method BoundingBox

ln/shape.go:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (s *TransformedShape) BoundingBox() Box {
44 return s.Matrix.MulBox(s.Shape.BoundingBox())
45}
46
47func (s *TransformedShape) Contains(v Vector, f float64) bool {
48 return s.Shape.Contains(s.Inverse.MulPosition(v), f)

Callers

nothing calls this directly

Calls 2

MulBoxMethod · 0.80
BoundingBoxMethod · 0.65

Tested by

no test coverage detected