I'd also note that at least where I'm from robbery is *not* theft. And neither is fraud. Robbery is folded under chapter eight: "On Theft, Robbery and other crimes of acquisition" (as seen theft and robbery are two separate crimes) while Fraud is filed under "Fraud and other dishonesty".
Rape is filed under "Sexual crimes", along with a bunch of other crimes. It is specifically defined as "He who (the language is gender-neutral, but I'm not sure how to replicate that in english) through violence or threats of violence or criminal action coerces another to sexual intercourse or act which is considered to be equal thereof [actual sentencing guidelines] The same is to be the case if the person has intercourse or other sexual act that according to the first section is comparable to intercourse by means of illegitimately exploiting that the person due to unconsciousness, sleep, intoxication or other effects of drugs, sickness, bodily injury or mental illness or otherwise taken into consideration of the circumstances is considered to be in a state of helplessness."
Note that there are other sexual crimes with wider applicability than rape.