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

Method ix

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

Source from the content-addressed store, hash-verified

19 return r
20 }
21
22 private fun ix(it: Box, x: Double, r: MutableList<Vec2>) {
23 it.properties.get(FLineDrawing.lines)?.values?.forEach {
24 val m = it.get()
25 if (m != null) {
26 if (m.attributes.isTrue(notation, false)) {
27 val intersections = FLinesAndJavaShapes.intersectX(m, x)
28 if (intersections != null)
29 intersections.forEach { r.add(it.toVec2()) }
30 }
31 }
32 }
33 }
34
35 fun y(x: Double): MutableList<Vec2> {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected