The rectus femoris is situated in the middle of the front of the thigh; it is fusiform in shape, and its superficial fibers are arranged in a bipenniform manner, the deep fibers running straight down to the deep aponeurosis. Its functions are to flex the thigh at the hip joint and to extend the leg at the knee joint.