Distance of the triangle as input parameter