How do I define a region / room?

How do I go about creating one of these collision boxes, and can I make them into non-standard shapes, such as Room B on the image in my previous post?