| 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> { |