It is an offence to engage in 'indecent conduct' in a public place or so as to be seen from a public place. This is known as 'public indecency'.
Engaging in sexual activity in public view, or intentional exposure of the genitals in a public place, are examples of the kind of conduct that might be covered by this offence.