Yes, mixed-gender swimming usually is an occasion of sin, but what if EVERYONE wore the very modest swimsuits as in the OP's link? In that case, probably not.
But there's another consideration besides the occasion sin. Even if someone has attained a significant degree of purity, it's still wrong IMO to take part in such a culture of immodesty. Even if I were fully clothed and were entirely safe from occasions of sin, I still would not want to go to a beach or a pool party where everyone was running around immodestly. There's just something incongruous about a Catholic being in such a place.
So, for instance, most saints held dancing to be an occasion of sin. Yet, even if I did not actively participate, and there were no occasion of sin for me personally, I would not want to even be present at a dance (especially modern dances) because of the aversion we have to it given our Catholic sensitivities.
Of course, there could also be the possibility of scandal with your presence as well if it gives someone the impression that you condone that sort of environment.