Four muscles located in front of the thigh and above the knee are together referred to as the quadriceps. Their main function is to make the leg straight. The apex of the femur is the origin of the four muscles: the rectus femoris, vastus medialis, vastus intermedius, and vastus lateralis (thigh bone).