Jumping off a building surely is suicide and, if done by someone just because they had terminal cancer, IMO, would be an act of extreme despair.
BTW I have terminal cancer (see blog below) but, be assured, jumping off a building isn't on my bucket list as I also suffer from acrophobia.