sum

public Double sum(Double x, Double y)

Method to combine two distances

Return

the resulting distance

Parameters

x

first distance to combine

y

second distance to combine