Function necsim::calculateDistance¶
- Defined in File Landscape.cpp
Function Documentation¶
-
double
necsim::calculateDistance(const double &start_x, const double &start_y, const double &end_x, const double &end_y)¶ Calculates the distance between two points.
- Return
- the distance between the points
- Parameters
start_x: the start x coordinatestart_y: the start y coordinateend_x: the end x coordinateend_y: the end y coodinate