<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def calculate_distance( distance_calculator, place_geometry, latitude, longitude, earthquake_hazard=None, place_exposure=None):
 """Simple postprocessor where we compute the distance between two points. :param distance_calculator: The size calculator. :type distance_calculator: safe.gis.vector.tools.SizeCalculator :param latitude: The latitude to use. :type latitude: float :param longitude: The longitude to use. :type longitude: float :param place_geometry: Geometry of place. :type place_geometry: QgsGeometry :param earthquake_hazard: The hazard to use. :type earthquake_hazard: str :param place_exposure: The exposure to use. :type place_exposure: str :return: distance :rtype: float """

    _ = earthquake_hazard, place_exposure  # NOQA

    epicenter = QgsPointXY(longitude, latitude)
    place_point = place_geometry.asPoint()
    distance = distance_calculator.measure_distance(epicenter, place_point)
    return distance