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

Method iy

src/main/java/trace/util/Intersections.kt:44–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 return r
43 }
44
45 private fun iy(it: Box, x: Double, r: MutableList<Vec2>) {
46 it.properties.get(FLineDrawing.lines)?.values?.forEach {
47 val m = it.get()
48 if (m != null) {
49 if (m.attributes.isTrue(notation, false)) {
50 val intersections = FLinesAndJavaShapes.intersectY(m, x)
51 if (intersections != null)
52 intersections.forEach { r.add(it.toVec2()) }
53 }
54 }
55 }
56 }
57
58

Callers

nothing calls this directly

Calls 6

isTrueMethod · 0.80
intersectYMethod · 0.80
getMethod · 0.65
forEachMethod · 0.45
addMethod · 0.45
toVec2Method · 0.45

Tested by

no test coverage detected