Mathematical models for the assessment of pedestrian protection provided by a car contour