The middle third of the shaft of the femur is triangular in shape with smooth lateral and medial margins between anterior, lateral (posterolateral), and medial (posteromedial) surfaces. The posterior margin is broad and forms a prominent raised crest (the linea aspera).