I need the terrain under the fence and to one side of it (inside the fence) to be level. Using an attribtransfer I managed to do the part under the fence.
Now how would I expand this attribute to fill one side?
compare the vector from the ground point to the fence with the fence normal vector. For points on one side, the dot poduct will be positive, for the other side, it will be negative. Voila.