changeset 1324:19108851af13

Removed dead code.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 25 Nov 2018 10:42:09 +0100
parents 3c914bc670a2
children 9d1f8e99743b
files pkg/models/cross.go
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/models/cross.go	Sat Nov 24 17:08:56 2018 +0100
+++ b/pkg/models/cross.go	Sun Nov 25 10:42:09 2018 +0100
@@ -246,14 +246,6 @@
 		math.Abs(cz.Z-other.Z) < zEps
 }
 
-func (cz GeoJSONCoordinateZ) mid(other GeoJSONCoordinateZ) GeoJSONCoordinateZ {
-	return GeoJSONCoordinateZ{
-		Lon: (cz.Lon + other.Lon) * 0.5,
-		Lat: (cz.Lat + other.Lat) * 0.5,
-		Z:   (cz.Z + other.Z) * 0.5,
-	}
-}
-
 func deg2rad(d float64) float64 { return d * math.Pi / 180.0 }
 
 func (cz GeoJSONCoordinateZ) Distance(other GeoJSONCoordinateZ) float64 {