Investigating Sex (2001)
Investigating Sex is a 2001 comedy/drama film written (screenplay) and directed by Alan Rudolph and starring Neve Campbell, Til Schweiger, Nick Nolte and Dermot Mulroney and based on the book Recherches sur la sexualite archives du surealisme by Jose Pierre.
More at Wikipedia.