MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / union

Method union

src/main/java/field/utility/Rect.java:33–39  ·  view source on GitHub ↗
(Rect r, Rect rect)

Source from the content-addressed store, hash-verified

31 }
32
33 public static Rect union(Rect r, Rect rect) {
34 if (r == null)
35 return rect;
36 if (rect == null)
37 return r;
38 return r.union(rect);
39 }
40
41 public static Rect union(Rect r, Vec2 rect) {
42 if (r == null)

Callers 15

selRightMethod · 0.95
selAllRightMethod · 0.95
selLeftMethod · 0.95
selAllLeftMethod · 0.95
selAboveMethod · 0.95
selAllAboveMethod · 0.95
selBelowMethod · 0.95
selAllBelowMethod · 0.95
SelectSubGraphMethod · 0.95
computeFrameMethod · 0.95
loadedMethod · 0.45
loadedMethod · 0.45

Calls 2

minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected