# HG changeset patch # User Sascha L. Teichmann # Date 1538034925 -7200 # Node ID ce23a4192788332127c8d6954b79bcd6206f2550 # Parent 8d96204a786a5f49b8ad3ee84a665d6955f97bea Removed dead code. diff -r 8d96204a786a -r ce23a4192788 pkg/models/cross.go --- a/pkg/models/cross.go Thu Sep 27 08:52:44 2018 +0200 +++ b/pkg/models/cross.go Thu Sep 27 09:55:25 2018 +0200 @@ -136,8 +136,6 @@ const ( wkbXDR byte = 0 wkbNDR byte = 1 - wkbPoint uint32 = 1 - wkbPointZ uint32 = 1000 + 1 wkbLineString uint32 = 2 wkbLineStringZ uint32 = 1000 + 2 ) diff -r 8d96204a786a -r ce23a4192788 pkg/octree/vertex.go --- a/pkg/octree/vertex.go Thu Sep 27 08:52:44 2018 +0200 +++ b/pkg/octree/vertex.go Thu Sep 27 09:55:25 2018 +0200 @@ -4,7 +4,6 @@ "bytes" "encoding/binary" "io" - "log" "math" "sort" ) @@ -39,7 +38,6 @@ const ( wkbNDR byte = 1 - wkbPointZ uint32 = 1000 + 1 wkbLineStringZ uint32 = 1000 + 2 wkbMultiLineStringZ uint32 = 1000 + 5 ) @@ -169,12 +167,6 @@ return points } -func (t *Triangle) IntersectVertical(x1, y1, x2, y2 float64) LineStringZ { - // TODO: Implement me! - log.Println("Triangle.IntersectVertical is not implemented, yet!") - return nil -} - func linearScale(x1, y1, x2, y2 float64) func(Vertex) float64 { dx := x2 - x1 dy := y2 - y1