Blender, Procedural, 3d Modeling, Geometry Node, Coding.
mountains again (or reuse the calculation we already did), and take the verctor which goes from the river bank to the closest point on the mountain base, we have a vector that is perpendicular to the river bank. We can take this vector to check if there is a river bank along that direction on the